Use the image Edit utility and create a black and white version of your .bmp or .ico. and change on runtime.
If object.enabled = .t.
object.picture = 'color_picture.bmp'
else
object.picture = 'nocolor_picture.bmp'
endif
>>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
Dominican Republic, a Paradise in America