Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Enabled / disabled checkbox in a grid with only 1 contr
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01505221
Message ID:
01505260
Vues:
40
>>>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.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform