General information
Title:
Select bar programatically
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only