Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem creating a dynamic menu
Message
From
27/09/2006 16:50:27
 
 
To
27/09/2006 14:21:52
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01157560
Message ID:
01157666
Views:
16
>Thanks, that worked, strange in that documentation does not show how to do it. I will do work in program DOFTP.
>

you can declare the popup selection with a single line:
ENDFOR
ON SELECTION POPUP (M.lcPopUpName) DO doftp WITH BAR(),PROMPT()
<pre>

>>Claude,
>>
>>The i and lcCxfer variables aren't evaluated within the ON SELECTION command until the user selects the bar from the menu.  What you can do instead is pass the BAR() and PROMPT() values to the doftp method instead.
>><pre>
>>ON SELECTION BAR i OF &lcPopUpName DO doftp WITH BAR(),PROMPT()
>>
Previous
Reply
Map
View

Click here to load this message in the networking platform