文本框不显示
表单上有一添加按钮,有数个文本框,当点添加按钮时,文本框消失(就是不现实了,用鼠标点一下出来了),为何?
添加按钮代码:
SELECT swxx
GO BOTTOM
APPEND BLANK
thisform.commandgroup1.Enabled= .F.
this.Parent.command1.Enabled= .F.
this.Parent.command2.Enabled= .F.
this.Parent.command3.Enabled= .T.
this.Parent.command4.Enabled= .T.
this.Parent.command5.Enabled= .F.
thisform.dah1.readonly= .F.
thisform.jssj1.readonly= .F.
thisform.xm1.readonly= .F.
thisform.xmpy1.readonly= .F.
thisform.swsj1.readonly= .F.
thisform.sfzhm1.readonly= .F.
thisform.poxm1.readonly= .F.
thisform.posfz1.readonly= .F.
thisform.podh1.readonly= .F.
thisform.podw1.readonly= .F.
thisform.pozz1.readonly= .F.
thisform.lxr11.readonly= .F.
thisform.lxr1gx1.readonly= .F.
thisform.lxr1dw1.readonly= .F.
thisform.lxr1dh1.readonly= .F.
thisform.lxr21.readonly= .F.
thisform.lxr2gx1.readonly= .F.
thisform.lxr2dw1.readonly= .F.
thisform.lxr2dh1.readonly= .F.
thisform.combo1.enabled= .t.
thisform.combo2.enabled= .t.
thisform.combo3.enabled= .t.
thisform.combo4.enabled= .t.
thisform.combo5.enabled= .t.
thisform.combo6.enabled= .t.
thisform.Container1.enabled= .f.
thisform.Container2.enabled= .f.
THISFORM.REFRESH()
[解决办法]
本帖最后由 dkfdtf 于 2012-08-14 21:48:17 编辑 表单属性 AllowOutput 设为 .f.