Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to stop code execution & release form?
Message
De
15/10/2000 01:54:44
Al Doman (En ligne)
M3 Enterprises Inc.
North Vancouver, Colombie Britannique, Canada
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00429574
Message ID:
00429575
Vues:
17
>Immediately after tables are opened in load(), I have an if statement to terminate the form if tables are not up-to-date, but it will not terminate.
>
>use Locfl. . .
>if Locfl.version < 4.53
> =messagebox(‘Version 4.53 is required...
> thisform.release()
>endif
>The rest of the load-procedure should not run...
>.
>.
>What is the appropriate method to terminate the remainder of the load procedure and release the form?

If you RETURN .F. at the end of the Form .Init(), it will release itself.
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform