Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Control init fail, class init fail
Message
De
16/10/2000 16:48:52
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00428995
Message ID:
00430022
Vues:
11
Michelle:

>
So how is that better than having the control itself tell me what the problem is? I still need to cancel the form and go fix it. I don't see any difference except in one I have to make sure the debugger is running and the other I don't.
>

IMHO, it does not matter which approach to take in your particular case because you already know why the calendar failed to initialize. ASSERT is very handy when you are not sure what caused the problem because it allows you to enter the debugger to view variable, properties, parameters, call stack, etc... In this particular case, enterring the debugger does not make sense. I think that using a placeholder is a good idea in this case.

Daniel
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform