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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only