Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Trouble with container class
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Title:
Trouble with container class
Miscellaneous
Thread ID:
00383606
Message ID:
00383606
Views:
37
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
Next
Reply
Map
View

Click here to load this message in the networking platform