Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Login form as top level?
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00565264
Message ID:
00565270
Views:
28
>
>Application.Visible = .F.
>SET SYSMENU OFF
>... setup stuff ...
>DO FORM frmLogin.SCX
>READ EVENTS
>... as user logged in, go on with the setup and get user input ...
>SET SYSMENU AUTOMATIC
>DO menMain.MPR
>READ EVENTS
>
Antonio,

As far as I know, the first read events will "stop" program execution and make VFP start receiving windows events. In this case, the SET SYSMENU AUTOMATIC and everything after that wouldn't be executed.

I do the same thing in other way. Untill the DO FORM frmLogin.SCX it's basically the same. But I place my READ EVENTS in the Login form, and everything that has to be setup after the user is logged, is made from a method of the Login form.

Maybe I'm wrong, but I remember having some trouble with a missplaced READ EVENTS.

Hope I have helped.

Alonso
Like Frank said: "I did it... MY WAY!"
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform