Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I CANCEL without QUITting
Message
 
 
To
27/07/2002 13:14:04
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00683257
Message ID:
00683270
Views:
25
>>>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--
Previous
Reply
Map
View

Click here to load this message in the networking platform