Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error event does no return to master
Message
 
 
À
08/01/2013 18:15:56
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01561811
Message ID:
01561817
Vues:
40
alternative commands to end the creation of the form. None appears to prevent the execution of the code in the Init methods.
>>>
>>>I try to avoid using ExitProcess().
>>>
>>>What am I doing wrong?
>>
>>Well, this may be not the solution you're looking for, but you can set form's property, say, ExitForm to true and return not thisform.ExitForm from Load and Init. If you return false from form's Load or form's Init, it will stop form's instantiation.
>
>Hi Naomi,
>
>You're still around here and going strong. :)
>
>I have thought of that way of handling. However, it would imply that the remainder of the code in the Load() is done anyway, and that's not what I want.

I then can recommend you to look into this website http://ideaxchg.com/ix07/bymda/mdav0012.htm

Mike Asherman studied this topic a lot several years back and released for free nice Error Handler. I suggest you to check information he put in that website, you may find your answer there.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform