代码解读求助
SELECT XSINFOIF RECCOUNT()<=0
WITH THISFORM
.IMAGE1.PICTURE=SYS(5)+SYS(2003)+"\PICT\HUA.ICO"
.
.
ENDWITH
ELSE
THISFORM.REC=1
THISFORM.IMAGE1.PICTURE=SYS(5)+SYS(2003)+"\PICT\"+XSINFO.编号+".ICO"
ENDIF
WITH THISFORM
.SETALL("ENABLED",.F.,"TEXTBOX")
.SETALL("ENABLED",.F.,"COMBOBOX")
.SETALL("DISABLEDFORECOLOR",RGB(0,0,0),"TEXTBOX")
.SETALL("DISABLEDFORECOLOR",RGB(0,0,0),"COMBOBOX")
.REFRESH
ENDWITH
WITH THISFORM.GRID1
FOR I=1 TO .COLUMNCOUNT
.COLUMNS(I).WIDTH=62
.COLUMNS(I).RESIZABLE=.F.
ENDFOR
ENDWITH
这一段代码市在这个论坛里抄的作业,原作者是谁已经记不清楚了,反正是大佬。第九行代码不懂( THISFORM.REC=1),特请教。谢谢!