Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Shortcut menu how to return a value
Message
De
28/04/2006 09:33:33
 
 
À
28/04/2006 08:41:55
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01117430
Message ID:
01117481
Vues:
13
>no cigar :-)
>


found my problem:

this works:
DEFINE POPUP _SC SHORTCUT RELATIVE FROM MROW(),MCOL()
FOR I = 1 TO LEN(x1)
	x2=SUBSTR(x1,I,1)
	x3=[DEFINE BAR ]+STR(i)+[  OF _SC PROMPT "]+x2+["]
	&x3
	x4=[ON SELECTION BAR ]+TRANSFORM(i)+[ OF _SC  _screen.ActiveForm.MENUSELECTED(BAR(),x1)]
	&x4
ENDFOR

ACTIVATE POPUP _SC
the define bar need the bar # not the prompt :-)

Peter
Peter Cortiel
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform