Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Changing the color of the SYSMENU
Message
De
21/02/2004 18:00:21
 
 
À
21/02/2004 17:33:18
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Divers
Thread ID:
00879665
Message ID:
00879675
Vues:
18
Hello Fabio,

Thanks for your reply. The thing is that I want to change the color of the menu attached to _SCREEN. It may be all depending on my Windows settings which would explain why I can't see any change.

By any chance, do you know how we can override this default behavior?

Pat

>
>Hi All,
>
>Can someone tell me how I am supposed to change the color of the system menu of Visual FoxPro? I am not really familiar with color schemes and my first experiments with it didn't prove to have any effect.
>
>Can someone put me in the right direction? Thanks.
>

>
>Pat, you can be based, not there are some direction.
>
>
>SET COLOR OF SCHEME 7 TO RGB(0,0,160,233,233,233),RGB(0,0,160,222,223,207);
>,RGB(255,255,255,222,223,207),RGB(255,255,255,0,0,128);
>,RGB(192,192,192,128,128,128),RGB(255,0,0,255,255,200);
>,RGB(255,255,255,0,0,128),RGB(0,0,0,0,0,0);
>,RGB(0,0,0,255,255,255),RGB(128,128,128,255,255,255);
>,RGB(128,128,128,255,255,255)
>DEFINE POPUP mio2 RELATIVE SHORTCUT COLOR SCHEME 7
>DEFINE BAR 1 OF mio2 PROMPT "bar1"
>DEFINE BAR 2 OF mio2 PROMPT "bar2"
>DEFINE POPUP mio3 RELATIVE SHORTCUT COLOR SCHEME 7
>DEFINE BAR 1 OF mio3 PROMPT "bar1"
>DEFINE BAR 2 OF mio3 PROMPT "bar2"
>ON BAR 1 OF mio2 ACTIVATE POPUP mio3
>* now you see colors
>ACTIVATE POPUP mio2
>* but forms menu ignore your setting, and use windows SO setting
>DEFINE PAD mioPad OF _MSYSMENU PROMPT "userPad" COLOR SCHEME 7
>ON PAD mioPad OF _MSYSMENU ACTIVATE POPUP mio2
>
>
>Fabio
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform