Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bitmap Colors
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00190031
Message ID:
00190397
Views:
11
>When I set a toolbar button's enabled property
>to false, I would like it to appear greyed out
>like you would see on VFP disabled toolbar
>items.
>
>Like I said, when I set the enabled property
>to false, I see a dark grey rectangle instead
>of the normal greyed button.
>
>When VFP's Cut, Copy and Paset buttons are
>disabled, you can still see what the picture
>looks like. In my app, they appear as a dark
>grey rectangle. The button image is not visible.

Hi Kevin,

It sounds like there's a problem with the actual bitmap. It could be that it was created in 24 bit color and is being run on a machine that's set up for 16 bit or less. I've never seen this, but I'd check the number of colors the machine is set on, then the number of colors of the bitmap. FWIW, I always use 16 color bmps, and disabled buttons appear as they're supposed to.
George

Ubi caritas et amor, deus ibi est
Previous
Reply
Map
View

Click here to load this message in the networking platform