Naomi,
This is what I did. I put the code below in the InteractiveChange Method of the checkbox:
LOCAL llFlag
llFlag = NOT myLogicalField
REPLACE myLogicalField WITH llFlag
This.Refresh()
Hope it helps,
Dennis
>Hi everybody,
>
>I put a grid on the form (grdSorting class). This grid has writable cursor as its record source and two columns are set as ReadOnly = .f. (our grid's default is true).
>
>I put checkboxes in two of grid's columns. In the click method of the checkbox I have:
>
>this.Parent.Parent.Parent.lProfileChanged = .t.
>
>I'm clicking on the checkbox and it looks like sometimes it doesn't react on my click. In most cases I see the check mark changed, but in some it remains like I didn't click.
>
>Did you notice this behavior? What can cause it?
>
>Thanks in advance.