Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Enabled / disabled checkbox in a grid with only 1 contr
Message
From
28/03/2011 13:52:45
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01505221
Message ID:
01505243
Views:
44
>>(5) the checkbox column should have a DynamicCurrentControl based on the value of the field in (1)
>>You better add a DynamicBackColor showing whether the checkbox is enabled
>
>What BackColor do you suggest to show clearly enabled / disabled status?
>
>Thanks again.

Why don't you create two check boxes, one enabled, another disabled and switch them using DynamicCurrentControl?
You mentioned before that you wanted to avoid multiple controls, but sometimes I put more than five controls in one column and switch them depending on the values in the view. This way the sky is the limit, you can even put sometimes labels, image, textboxes etc into the column and create your own container controls as well.

This technique has helped me to create interfaces that are really intuitive and more interesting looking.
Christian Isberner
Software Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform