>Quite possibly, but how?
>
>Peter
Hi Peter,
As a simple test I created a table with a logical field and an integer field to bind to the check box and the spinner in the grid. I then created a form, placed a grid on the form, placed a check box in column 1 and a spinner in column 2 making the check box the CurrentControl of column 1 and the spinner the CurrentControl of column 2. I set the Sparse property of column 1 to .F. so all the check boxes would show.
In the grid's AfterRowColChange event I placed the following code:
IF MyTable.check
THIS.COLUMN2.SPINNER1.ENABLED = .T.
ELSE
THIS.COLUMN2.SPINNER1.ENABLED = .F.
ENDIF
In the check box's Click event I placed the following code:
IF THIS.VALUE
THIS.PARENT.PARENT.COLUMN2.SPINNER1.ENABLED = .T.
ELSE
THIS.PARENT.PARENT.COLUMN2.SPINNER1.ENABLED = .F.
ENDIF
I believe this gave the basic behavior you are looking for. Now this was just a quick example. You would probably need to experiment and adjust settings to get the details of how you want it to work ironed out.
Bill
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.