Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can't close the form in the init
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00488229
Message ID:
00488382
Vues:
9
>This really feels dumb....buttt....I test for an available table in the init of a form, if not table..thisform.destroy. problem is, the form instaniates anyway. Please refresh my feeble brain.

As Bill said, returning .F. prevents the form from intializing. But I wanted to point out to you that Thisform.Destroy() does nothing but run any code you add to the Destroy() procedure. Thats because Destroy() is an Event, not a method that actualy does anything natively. In order to close a form, call its Release() method.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform