Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Color on Menu Items?
Message
From
24/05/2001 16:57:35
 
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Miscellaneous
Thread ID:
00511092
Message ID:
00511207
Views:
19
>>Is it possible to change the colors of menu text and backgrounds? I use the menu designer, but am willing to branch out if needed... Thanks!
>>
>>Regards, Renoir
>
>You can but I don't know of a way to do it using the Menu Designer if using the menu generator that comes with VFP. You can download GenMenuX (http://www.meistermacneill.com/download.htm) and this has a color directive that will allow this from the designer.
>
>You could also do it in code. The COLOR clause of the DEFINE MENU, DEFINE PAD and DEFINE BAR commands allows for this.
>
>Caveat:
>As Craig posted, menu colors are controlled by the end user. As such, any color scheme you select may be unreadable to that user: either because it conflicts with what they have selected or they just just can't see it. Take this into account when changing user configurable options. They have set them that way for a reason.
>
>HTH.

You can use the old 2.x trick of tacking the COLOR command on to, say, the Message clause of the menu.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform