Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Debugging a problem
Message
De
18/06/2010 17:27:04
Thomas Ganss (En ligne)
Main Trend
Frankfurt, Allemagne
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01469670
Message ID:
01469679
Vues:
28
>>>>because the init is one of the last things happening... think about the events at the form level, where each and every aggregated control is added and then fires its init before the form init...
>>>>
>>>>HTH
>>>>
>>>>thomas
>>>
>>>I am trying to understand what you saying (and thank you, of course, for your help). Are you saying the control is first added to the container and then INIT of this control fires? If so, this is news to me.
>>
>>Yupp. At the form level the load was added to give you a chance for needed actions like opening cursors / tables and so on. Add logging the own name in each init and watch. vfp init#constructor!
>>
>>regards
>>
>>thomas
>
>I think I understand it now but I don't think it applies to my case. In the LOAD of the form NOTHING happens concerning the control in questions. This control resides on a container. The the container is dynamically added to the form in the INIT method of the form. And when watching in the debugger I can see how all other controls of this container are being instantiated but not the control in question.

Yes - the order "working from inside" happens on each vfp control able to contain other controls when these are added at design time. Your container "works/initializes" each control until it comes to your cbo, which errors out before it's init fires. the container control init fires after each cotained controls init - but only if no error happens before, which does in your case.

HTH

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

Click here to load this message in the networking platform