Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Trouble with container class
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Titre:
Trouble with container class
Divers
Thread ID:
00383606
Message ID:
00383606
Vues:
36
Hi all,

I've created a container class using the project manager's Class definitions. Inside the container class I create. The container has a method called AddItem.

I placed an instance of a textbox class which as code to call AddItem if the keycode is 13. It goes something like:

IF...
   this.parent.additem()
ENDIF...

However, it wants me to have a method AddItem on the form I placed the container class on.

What's the deal? How can I call a method in a container from a control inside that container?

Thanks,
Jim Huenergardt
AXIO
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform