Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help With First Menu
Message
From
03/11/2006 09:24:37
 
 
To
03/11/2006 09:22:26
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows 2000 SP4
Network:
Windows 2000 Pro
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01165460
Message ID:
01166882
Views:
21
This message has been marked as the solution to the initial question of the thread.
>If you're using menu with Top-Level form (as posted code indicates) you have to check Top-Level form check box for that menu in the Menu Designer -> View -> General options.
>
>Hi Sergey:
>I did as you suggested above. Now with the do menu2.mpr code in the main.prg (before the do form xxx), I get the message "menu can only be called from a top-level form. Ensure that your form's ShowWindow property is set to 2". I get the same message if I put the do menu2.mpr code in the form's INIT.
>Just for the record, I DO have the form's ShowWindow property set to 2 (top level).

It has to be called from the form's Init
do menu2.mpr WITH this
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform