Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DEFINE BAR Question
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01042694
Message ID:
01042707
Vues:
16
I need an example of how to use the COLOR clauses of the DEFINE BAR
>command.
>
>When/how should they be used?
>
>Thanks


Kevin, try this
DEFINE POPUP popTest FROM MROW(), MCOL()

DEFINE BAR 1 OF popTest PROMPT 'Like This' COLOR ,RGB(216,222,211,76,88,68)
DEFINE BAR 2 OF popTest PROMPT 'Or That' COLOR ,RGB(255,255,0,150,0,255)
DEFINE BAR 3 OF popTest PROMPT 'Maybe Like So' COLOR ,RGB(216,222,211,76,88,68)

ON SELECTION BAR 1 OF popTest MESSAGEBOX("1.........")
ON SELECTION BAR 2 OF popTest MESSAGEBOX("2.........")
ON SELECTION BAR 3 OF popTest MESSAGEBOX("3.........")

ACTIVATE POPUP popTest
_______________________________________________________________
Testing displays the presence, not the absence of bugs.
If a software application has to be designed, it has to be designed correctly!
_______________________________________________________________
Vladimir Zografski
Systems Analyst
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform