Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Shortcut menu how to return a value
Message
From
28/04/2006 09:33:33
 
 
To
28/04/2006 08:41:55
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01117430
Message ID:
01117481
Views:
14
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform