Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
2 Objects with the same name
Message
De
19/04/1999 17:23:55
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00209904
Message ID:
00209928
Vues:
18
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
Fil
Voir

Click here to load this message in the networking platform