Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Activating the Menu
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00581846
Message ID:
00582115
Vues:
18
>Is there a way in code to make a menu drop down, or select a menu option from code.
>
>Reason: Just playing around with the speech stuff as presented in the FoxPro Advisor.
>
>Example: User says File Exit, I want to call the File | Exit menu option.
>
>Certainly not life-matter stuff here, just curious?
>
>Thanks
>

Kirk,
You can play around with the SYS(1500) function. The following will shut down VFP:

sys(1500,'_MFI_QUIT','_MSM_FILE')

You will have to find the item name and pad name of your custom application menu for it to work. CHeck out the VFP Help for more information.

HTH.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform