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