Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Color Scheme Question
Message
De
05/12/2012 06:01:08
 
 
À
05/12/2012 05:07:55
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01558743
Message ID:
01558746
Vues:
61
>Hi,
>
>I'm trying to change the colors of menu popups in an app.
>
>My idea was to have black letters over a bluish background. Something like RGB (0, 0, 0) over RGB(214,234,254).
>
>For that purpose found the SET COLOR OF SCHEME nSchemeNumber TO ColorPairList and DEFINE POPUP MyPopUp COLOR SCHEME nSchemeNumber.
>
>So Far, I've not succeded with any of my attempts. How should I define the desired color scheme to acomplish that?
>
>TIA
>
>Fernando

You can define the colours when you add the bars to the popup

for the colorpairlist see http://ml-consult.co.uk/foxst-43.htm
define popup pop
define bar 1 of pop prompt 'pp23'  COLOR B/W*,G/W*, ,,,W+/GR
define bar 2 of pop prompt 'pp23'  COLOR G/W*, B/W*,,,,W+/GR
define bar 3 of pop prompt 'pp23'  COLOR G/W*, B/GR+,,,,W+/GR
define pad yyy of _msysmenu prompt 'yyy'
on pad yyy of _msysmenu activate popup pop
Gregory
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform