Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DEFINE BAR Question
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01042694
Message ID:
01042707
Views:
17
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform