Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setting Enabled Dynamically in a Grid
Message
From
16/07/1998 16:37:53
 
 
To
16/07/1998 16:24:19
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00118331
Message ID:
00118339
Views:
14
>I have a grid with it's RecordSource set to a local view. In this view are some .T./.F. fields where half the .T./.F. fields are bound to checkboxes in the grid and the other half, which are set from another table and will not be changed in this view, are to be used to dynamically set the enabled property of the same checkboxes for each record. Any ideas in how to do this would be appreciated.
>
>TIA,

You should add two checkboxes (cb1.enabled=.t. and cb2.enabled=.f.) to every column where you want to have alternated enabled/disabled checkboxes. Then, you set Column.DynamicCurrentControl property to be evaluated by some other field value.
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform