Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to stop code execution & release form?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00429574
Message ID:
00429592
Vues:
15
Mike,

You can also just return .F. from Load() if you don't want the form to load, this has the benefits of not having the controls construct.

>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?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform