Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Select bar programatically
Message
From
23/09/2005 00:50:37
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Select bar programatically
Environment versions
Visual FoxPro:
VFP 6 SP3
OS:
Windows '98
Network:
Windows 98
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01052283
Message ID:
01052283
Views:
45
Dear Experts

I have following popup menu. I want to select bar 2 programatically.
I mean when this popup menu appears then control automatically should go to bar 2, entitled "The Software".
And how to findout which bar is selected?

Please help.

*----------------
LOCAL SELE2
SELE2=0
DEFINE POPUP ABC SHORTCUT RELATIVE FROM 8,80 to 14,110 TITLE 'A B O U T'

DEFINE BAR 1 OF ABC PROMPT '\<1- The Prgrammer'FONT "Verdana",10 COLOR ,RGB(0,0,255,67,188,182)
DEFINE BAR 2 OF ABC PROMPT '\<2- The software'FONT "Verdana",10 COLOR ,RGB(0,0,255,255,255,255)
DEFINE BAR 3 OF ABC PROMPT '\<3- About us'FONT "Verdana",10 COLOR ,RGB(0,0,255,255,255,255)

ON SELECT BAR 1 OF ABC SELE2 =1
ON SELECT BAR 2 OF ABC SELE2 =2
ON SELECT BAR 3 OF ABC SELE2 =3

ACTIVATE POPUP ABC

DO CASE
CASE SELE2=1
do form aware
CASE SELE2=2
do form help
CASE SELE2=3
do form party
ENDCASE
*------------------
Next
Reply
Map
View

Click here to load this message in the networking platform