Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using menu from modal form
Message
From
16/01/2001 08:52:07
 
 
To
01/01/2001 10:30:03
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Miscellaneous
Thread ID:
00458308
Message ID:
00464149
Views:
42
Hi Andrus.

>> How I can select my own menu item when modal form is active ? <<

Add a property called lMenuDone to your modal form. This code in the form's Paint method:
IF NOT This.lMenuDone
   PUSH MENU _MSYSMENU
   This.lMenuDone = .T.
   DO MyMenu.prg
   DO MyMenu.prg
ENDIF
Then you can issue a POP MENU in the form's Unload.

Marcia
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform