>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.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao