Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to close a form programatically before/at the Init-E
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00115175
Message ID:
00115335
Vues:
14
>Hi,
>
>I want to close a form programatically before the user can interact with the form e.g. the form contains no data or an error loading the data environment handled by the error method.
>
>Unfortunately calling the THISFORM.Release method doesn't help.
>Calling this method in the activate or init event/method is ignored by the system.
>
>Thanks for any help.
>
Andreas,

Return .F. from the Init. That will prevent the creation of the form altogether.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform