Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Top level form way of doing things
Message
From
13/01/1997 21:57:41
John Adams
John T. Adams Software Consulting Svcs
Keedysville, Maryland, United States
 
 
To
13/01/1997 21:42:50
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00017221
Message ID:
00017259
Views:
67
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform