Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Conditionally hiding/showing checkbox in grid column...
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01010575
Message ID:
01010584
Views:
30
This message has been marked as a message which has helped to the initial question of the thread.
>... on a record-by-record basis.
>
>I have a grid based on a fox cursor with a logical field "lAsset". Was hoping to conditionally hide or show a checkbox in this column of the grid. I can use the WHEN method on the checkbox to make the checkbox accessible or not, but would like to hide/show the checkbox as well.
>
>Was hoping to use something similiar to the following, but for making "column3.check1" visible when "lAsset".
>
>
>thisform.grd.setall("DynamicBackColor", "IIF( tmpconflict.lOffice, RGB(250,253,193), RGB(255,255,255) )","Column")
>
>
>but for making a checkbox visible or not. I see that "column" has a setall command, but no go so far. Any ideas.

Chris,

Add another control into the column (something like a shape or image) and use the DynamicCurrentControl.

HTH,
Chad
_________________________________
There are 2 types of people in the world:
    Those who need closure
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform