Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Menu not Shown
Message
 
 
To
27/01/2009 07:55:30
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows XP
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01377266
Message ID:
01377270
Views:
21
Try to run the menu as modal (pass 1 to Show method).

>Hi All
>
>I am working with OO Menu from VFPx. The menu run in design time, but in Runtime they show up for a sec and then disappear.
>
>Main.prg calls Login form which is model form when username and password are ok the login form run the menus.
>
>
>*Main.prg
>*
>*
>do form login
>*
>read events
>
>
>
>
>*Login From
>
> If lUser and lPass 
>   public oMenu
>   oMenu = newobject('SFMenu', 'SFMenu.vcx', '', 'oMenu')
>   .
>   .
>   .
>   .
>   oMenu.Show()
>endif
>
>They do Show() for a while in runtime but they disappear immediately.
>Any help will be appreciated
>
>Zahid
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform