Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Login form that can not be closed
Message
 
À
20/07/2006 11:38:56
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 7
OS:
Windows 2000
Divers
Thread ID:
01138107
Message ID:
01138115
Vues:
13
>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform