Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Activate specific bar of popup menu
Message
From
23/08/2004 06:43:34
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Activate specific bar of popup menu
Miscellaneous
Thread ID:
00935489
Message ID:
00935489
Views:
53
Dear Sir,

Below is a popup menu, this works fine.
I want to activate bar 2 of this popup with commandbutton.
I mean when I press commandbutton the cursor must go to second bar on menu.
How is it possible?
Please help me.
LOCAL SELE
SELE=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'
DEFINE BAR 2 OF ABC PROMPT '\<2- The software'
DEFINE BAR 3 OF ABC PROMPT '\<3- About us'

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

ACTIVATE POPUP ABC

DO CASE

CASE SELE=1
do form aware
CASE SELE=2
do form help
CASE SELE=3
do form party1
ENDCASE
THISFORM.REFRESH
Next
Reply
Map
View

Click here to load this message in the networking platform