Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Top level form way of doing things
Message
De
13/01/1997 21:57:41
John Adams
John T. Adams Software Consulting Svcs
Keedysville, Maryland, États-Unis
 
 
À
13/01/1997 21:42:50
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00017221
Message ID:
00017259
Vues:
71
>>Try making your login screen modal, and call it prior to instantiating you r application's read events. I usually have a start-app proc in my main program that I call on a sucessful login, the read events is actually called from my menu class, which is called from the start app module.
>
>My form is modal. After a successed login, DO MENU.MPR is called and READ EVENTS after.

Does it return a value ie successful or not? My login is acutally wrapped in a session class which stores user rights etc. and the actual main.prg code looks something like:

if session.Userlogin()
do startapp
* read events called from startapp
else
do closeapp
* clear events called from closeapp
endif

Good Luck,

John
John Adams

John T. Adams
Software Consulting Services
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform