Jimmy,
You can use 'This' to reference a control from within it's methods. A checkbox can be either bound to a logical or numeric value. By default unbound checkbox has numeric values with 0 representing False, 1 - True and 2 - Null.
IF This.Value = 1
...
IF This.Value
...
>How do I differenate between when the checkbox has been checked or unchecked? I need to put the following code in:
>
>When checked - Thisform.CtGrid1.LockedColumns = 2
>When Unchecked - Thisform.CtGrid1.LockedColumns = 0
>
>I tried putting this in the click event but it fails
>
>IF Thisform.Check1 = .T. then
>Thisform.CtGrid1.LockedColumns = 2
>ELSE
>Thisform.ctGrid1.LockedColumns = 0
>ENDIF
>
>Sorry, new. really trying and actually getting somewhere. Thanks in advance.
--sb--