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:
Classes - VCX
Titre:
2 Objects With the Same Name
Divers
Thread ID:
00259338
Message ID:
00259338
Vues:
47
1. Create a form class called 'Base'.
2. Create a subclass of 'Base', call it 'Subclass'
3. Add a command button to 'Subclass' called 'command1'
4. Close 'Subclass', open 'Base' and add a command button called 'command1'
5. Close 'Base', open 'Subclass', and you have a form
with 2 command buttons, both called 'command1'

So which button is called with "ThisForm.Command1.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