Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Application keep staying in memory
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00286737
Message ID:
00286838
Views:
20
>Hi,
> Yes, It is OK to run my login form in main program. But how about user logout from my application and click CANCEL button? The problem will come back!!!!
>
>Any ideas?

Without understanding how your application is structured I can't answer your question.

I'm not certain what process you mean by the user logout. You mean when they quit the application altogether? Or are you talking about if the login fails?

If you're talking about if the login fails you'd do something like this:

< set up environment >

DO FORM myloginform TO lSuccess
IF m.lSuccess
* Continue running application
ENDIF

RETURN

With this structure you can return a value from the UnLoad event of the form and it will be stored in lSuccess.

If you have other questions, I need further clarification.
-cjh
Previous
Reply
Map
View

Click here to load this message in the networking platform