Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Login form that can not be closed
Message
 
To
20/07/2006 11:38:56
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 7
OS:
Windows 2000
Miscellaneous
Thread ID:
01138107
Message ID:
01138115
Views:
12
>Hi all,
>
>I'm having trouble with the login form that can not be closed, here is the code in click command button :
>
>CLOSE ALL
>CLEAR EVENTS
>thisform.Release()
>DO menu form
>READ events
>
>Did I miss something ? or maybe there is something wrong with my code.
>
>Thanks in advance,
>
>Budianto

Put you one and only READ EVENTS after starting this form:
DO FORM Login
READE EVENTS

In Button Click EVENT of the form:
IF LoginSuccess
   thisform.release()
ELSE
   CLEAR EVENTS
   * clean up
   QUIT
ENDIF
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform