Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grids
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Re: Grids
Miscellaneous
Thread ID:
00455797
Message ID:
00455944
Views:
27
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
Map
View

Click here to load this message in the networking platform