Josh-
>I would say that you should get an error when the second object in a container with the same name is instantiated. It would also be nice to get the error when you try to open the .scx at design time, or maybe when you try to save it. However, it should still open the .scx rather than making you open it as a table to track down the error.
I agree. Especially about the part where we shouldn't have to open the SCX as a table to track down the problem! :)
>By the way, it's the button on the .scx, not in the parent class, whose click event executes when you call thisform.cmdok.click(). At least in my test, it is.
Cool. I just assumed that since the class button was "first" in the object list...it would execute first. IAC, it's an accident waiting to happen to have two objects with the same name. Yuck.
Précédent
Suivant
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