John Baird
Coatesville, Pennsylvanie, États-Unis
Thanks for replying, but I found the problem. One of my routines creates an Id that I use to add the control references to the collection object. It was generating the same id for two controls causing an error and firing the catch block thus the controls didn't get bound.
It worked fine stepping through becuase I went slower than the computer, but when I ran it normally, I got the behavior I described. I made sure the id's are unique and the problem has been solved.
>>Is anybody using bindevents like this? Any help appreciated.
>
>I'm not 100% sure of your scenario but it sounds like you need to make all BINDEVENT() calls once all your objects are in place. Why not add a BINDEVENTS() method to your container and form. Have the form call it's BINDEVENTS() at the end of init() and in there, find any controls on the form that have a BINDEVENTS() method and fire them also.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement