Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Login form as top level?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00565264
Message ID:
00565270
Vues:
29
>
>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!"
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform