Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Image disabled isn't grayed like in a command button
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00236660
Message ID:
00242911
Views:
31
This appears to be the intended behaviour. It seems like a strange concept to disable a picture. Disabling a button prevents an action but what does disabling a picture do?

>When I set a .Picture of a commandbutton and set to .F. the .Enabled property, this image is grayed.
>
>If I set to .F. the .Enabled property of a Image Control, the picture is NOT grayed.
>
>I draw the grayed image and create a class based on Image with the .DisabledPicture and .EnabledPicture properties and with the method Assign for the Enabled property. In this method I set the .Picture property to .EnabledPicture or .DisabledPicture.
>
>Until here all is OK. BUT.....
>
>If I change the windows color, at Control Panel / Screen Properties, and set back color to Very Light Blue (for example), my disabled image is GRAYed and NOT DARK BLUE. Am I clear ???
>
>How can I solve this question ???? I need to do it.
>
>Thanks In Advance
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform