es kommt kein Fehler, aber die checkbox wird nicht gesetzt,
Code: Alles auswählen
For x = 1 to Len(aSatz)
oChk := XbpCheckBox():new( drawingArea,, aPos, {200,20} )
oChk:caption :=aSatz[x][2]+space(2)+var2lchar(aSatz[x][3])
oChk:tabStop := .T.
If aSatz[x][4] = .t.
oChk:setdata(.t.)
Endif
oChk:create()
AAdd(aOChk,oChk)
aPos[01]+=220
If x = 3
aPos[01]:=20
aPos[02]-=30
Endif
Next x