Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Debugging a problem
Message
De
18/06/2010 19:09:21
 
 
À
18/06/2010 18:03:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01469670
Message ID:
01469703
Vues:
30
Can you please let me know what is the RowSourceType and RowSource for your combobox?
I just added a container and added just one combobox and I created the cursor for it in the init of the combobox, and had no problem execute it. I can send you my test screen, if it helps.

>>>
>>>I agree with you that this is what happens. But what puzzles me is why the container "check" for the alias used in the RowSource of the combo control (and of course does not find the alias) instead of first calling the INIT of the control. I have another form that has a container (also dynamically added) that uses exactly the same control and no problems there. Thank you for helping me understand the issue and hopefully get to the solution.
>>
>>Are you sure the container does the checking ? [Now I am guessing] If the cbo were a container, each container member woul be created before the container init fires. Similarly the cbo tries to get its members into synch, which also touches the needed cursor. If everything is ok, the init*event* fires.
>>
>>Got most of my findings debugging some frameworks built by java programmers working in vfp, but Drew Speedie fine-tuned my fidnings, for instance the differences between scx and vcx and things aggregated at the parent level. If you can find some of his papers on event orderr, recommended.
>
>It makes sense what you are saying (as far as cbo itself checking its members). But for some reason it does not do it on another form. I will try to recreate the issue in a small test form and see if it helps me find what actually "checks" for the cursor alias before the INIT method fires. Thank you for your suggestion.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform