Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OApp.Logout() in VMP 4.0
Message
General information
Forum:
Visual FoxPro
Category:
Third party products
Miscellaneous
Thread ID:
00368579
Message ID:
00368600
Views:
18
>I had earlier posted a thread about the screen seeming jumpy when issuing an oApp.logout(). I augemented the code for oApp.Logout(). I just commented out the code that releases the menu and I changed the code that does an oMenu.InstallInitialMenu() and changed it to oMenu.InstallMenu().
>
>Now the Menu never goes away but yet any "*:IF" directives for GenMenuX will still be honored after the new login.
>
>Is this ok? I'm sure I am not thinking of something but it sure seems to work great for me.
>
>Thanks for any input.
>Paul Acton

Paul,
This may cause a problem if the menu still exists in anyway while the login screen is active. While the form is modal and this make the all normal menu items disabled, some of the menu options still check for the existence of oUser. If you attempt to clieck on any of the menu options while the login screen is up, oUser doesn't exist as an object and a message stating this will flash several times (one for each check in the menu).
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform