Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating/Writing to object methods at run-time?
Message
From
27/04/1999 17:21:22
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Title:
Creating/Writing to object methods at run-time?
Miscellaneous
Thread ID:
00212771
Message ID:
00212771
Views:
53
Hi All,

I have created an enhanced textbox control that has
a InquiySQL property that can be used to let the user
popup a list of values by right-clicking the mouse.

This works fine, but in order to do so you need to also
have the associated PopList control (which is instantiated
at run-time) in your class.

I am thinking that in good OOP development, the textbox object
itself should take care of displaying the popup information
without requiring this external PopList class.

The PopList control is basically a container with a listbox
inside. I could instantiate these at run-time from inside my
listbox control, but then how do I make them react the way
I want? How do I change the methods of these newly instantiated
objects at run-time?

Can it be done or am I dreaming of a perfect OOP world?

Thanks in advance

Pascal
Next
Reply
Map
View

Click here to load this message in the networking platform