Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Checkbox in a grid
Message
From
27/03/2003 04:52:57
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Checkbox in a grid
Miscellaneous
Thread ID:
00770653
Message ID:
00770653
Views:
41
In a grid I want a checkbox to be visible, but only for some records.

I set Sparse = .F. and then tried to find a way to hide the checkbox for some records.

Tried using DynamicCurrentControl, like this:-

This.Column1.DynamicCurrentControl= [ IIF(LUnwanted , "textbox_" , "checkbox_") ]


but that didn't do anything. The field in the column uses the class "checkbox_". Do I also need to add the class "textbox_"? If so, how?

Or is there another way?


Cyril.
Next
Reply
Map
View

Click here to load this message in the networking platform