我的表单代码也不多,INIT事件的代码如下:
thisform.grid1.RecordSource="tt"
WITH thisform.grid1
.column2.AddObject('check1','checkbox')
.column2.currentcontrol="check1"
.column2.readonly=.f.
.column2.sparse=.f.
.column2.enabled=.t.
.column2.check1.caption=""
.column2.check1.readonly=.f.
.column2.check1.alignment=2.
.column2.check1.enabled=.t.
.column2.check1.visible=.t.
endwith
BINDEVENT(thisform.grid1.column2.check1,"click",thisform,"¹´Ñ¡")