Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Select bar programatically
Message
De
23/09/2005 00:50:37
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Select bar programatically
Versions des environnements
Visual FoxPro:
VFP 6 SP3
OS:
Windows '98
Network:
Windows 98
Database:
Visual FoxPro
Divers
Thread ID:
01052283
Message ID:
01052283
Vues:
46
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
*------------------
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform