Also: Make sure that you set SPARSE=.f. on all of those columns involved.
>Do the following:
>
>-In the CHECKBOX columns use two checkbox controls bound to the same controlsource
>
>-Make the 1st one ENABLED=.t. and name it something like "chkEnabled"
>-Make the 2nd one ENABLED=.f. and name it something like "chkDisabled"
>
>-At the column level set the DYNAMICCURRENTCONTROL to something like:
>iif(combobox="N", "ckhDisabled", "chkEnabled") (You need to change "combobox" to the field you have bound to the combobox.
>
>-Make sure and place some refresh code in the VALID event of the COMBOBOX ie:
>This.parent.parent.column3.refresh()
>This.parent.parent.column4.refresh()
>
>
>>I have a grid with the following
>>
>>TEXTBOX COMBOBOX CHECKBOX CHECKBOX
>>
>>When COMBOBOX = "N" I want the 2 Checkboxes to disable and when COMBOBOX = "Y" then Vice-versa.
>>
>>However, when I disable the checkboxes - it disables all the checkboxes for all the records in the Grid.
>>
>>Any ideas on what I'm doing wrong?
>>
>>Thanks
>>Kev
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only