thisform.command(1).visible=.T.
thisform.command(2).visible=.T.
thisform.command(3).visible=.T.
thisform.command(4).visible=.T.
thisform.command(5).visible=.T.
thisform.command(6).visible=.T.
thisform.command(7).visible=.T.
....
thisform.command(150).visible=.T.
我这么就要写150行
能否有个简单的代码写法?
------解决方案--------------------------------------------------------
FOR i=1 TO 2
j=TRANSFORM(i)
thisform.command&j..visible=.t.
ENDFOR