Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
2 Objects with the same name
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
2 Objects with the same name
Divers
Thread ID:
00209904
Message ID:
00209904
Vues:
44
I have a form with a button named cmdOk.

I want to move the button to the parent
class, so I opened the parent class, added
a button and named it cmdOk.

When I reopened the child class, there now
are 2 buttons with the same name.

So how does VFP know which button to reference
if I called cmdOk.Click()?
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform