John Baird
Coatesville, Pennsylvania, United States
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.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only