Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Login Screen
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00279791
Message ID:
00279942
Vues:
24
>>Hi,
>> Nice to meet you. What is your company name?
>> Yes, I tried to DO FORM frmLogin in frmMain before, but still the same result....
>
>It can work, but you may need to change a few things. As said, launch the login form as a child from the Main form, but not until late, the form Activate. Then if the login is bad, Release the Child form, and do the CLEAR EVENTS from the Main form. I do approximately this, and it works fine.

John,

Bruce has given you a fine solution to your question. But you might consider another approach, which is to create a Top-Level Login form and run it with a READ EVENTS after DO FORM MyLogin or oLogin = Createobject(...) however you do it. Then CLEAR EVENTS in the Login form when the user closes it. Then based on the outcome of the user login, I either bail them out or do my application setup and make the desktop visible, which for me is _SCREEN. Just another possibility for you to consider.

Bill
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform