Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Checkboxes in grids
Message
 
To
25/01/2002 06:13:49
Quinn Mayo
Quantified Pty Ltd
Melbourne, Australia
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00610348
Message ID:
00610356
Views:
19
Hi Quinn,

One way to do that is to create two Checkbox controls and insert them onto the Grid's Column. One Checkbox will have "Enabled=.T." and the other "Enabled=.F.". On the DynamicCurrentControl, define an expression that, based on the content of your field, set the enabled/disabled control.

On the Init Method of the Grid:
THIS.Column1.DynamicCurrentControl="IIF(Table.Field, 'Check1', 'Check2')"
-----
Fabio Vazquez
http://www.fabiovazquez.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform