Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I CANCEL without QUITting
Message
 
 
À
27/07/2002 13:14:04
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00683257
Message ID:
00683270
Vues:
24
>>>If a control encounters an error during INIT, is there any way to get the form to discontinue trying to instantiate (is that a word?)?
>>>
>>>I know the form doesn't exist at that point, so am I forced to use a public variable and have all controls check that public variable before INITing?
>>
>>The form isn't fully instantiated at this point but it does exist and controls can reference it's properties.
>
>Hi Sergey,
>Do you know of a way to CANCEL the form, so it doesn't keep instantiating. I can see now that I can set a flag in the form, but can you think of a better way?

It doesn't seems right to me that control decides if form would instantiating or not. Can you put those checks in the form's Load instead?
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform