Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem creating a dynamic menu
Message
De
27/09/2006 16:50:27
 
 
À
27/09/2006 14:21:52
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01157560
Message ID:
01157666
Vues:
17
>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()
>>
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform