Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Color on Menu Items?
Message
De
24/05/2001 16:57:35
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Divers
Thread ID:
00511092
Message ID:
00511207
Vues:
20
>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform