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 14:33:46
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, United States
 
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:
01505263
Views:
30
If you really wan to see the difference, create a container for the disabled check box with an image of what you want to show.

>>>>Is the checkbox not already greyed out when it's disabled? I wonder why you want to change the backcolor as well. I tried it and if I change the backcolor it does not change the backcolor for a disabled checkbox, it only looks kind of strange. I also tried it with the DisabledBackcolor, but the result is the same. I think playing with backcolor property in a grid often gives undesired results.
>>>
>>>I tried a backcolor suggested by Gregory (e.g. I set Disabled back color to 192,192,192 for Disabled back color for the chkDis) and there is absolutely no visual clue that anything has changed. Both enabled and disabled checkboxes look the same to me. I haven't played with the DynamicBackColor.
>>>
>>>I think it's not very important, but I wanted to somehow have a good visual clue if the checkbox is enabled or disabled. Right now I don't see a visual clue.
>>
>>Did you change the Enabled property to .F. in the second checkbox?
>>You also need to issue THIS.Refresh() after you change the value, in case you do this with the command window.
>>
>>See the attachment for my checkbox which is disabled and looks qrey.
>
>Can you show both enabled and disabled in the same column, so I will try to see the visual difference. To me this one is not very visible. May be it's because of my eyes.
Previous
Reply
Map
View

Click here to load this message in the networking platform