Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Protected property is italics
Message
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00608655
Message ID:
00610994
Views:
25
>Actually, it is possible at runtime to add objects to containers. I don't think it is possible to add PEM's to the object on the form. I really haven't done it myself so I'm going to look into it.

You can add properties with the AddProperty method.

>One last note: drag a base class onto a form, like a commandbutton. The parentclass in the property sheet is "None" and the class is "CommandButton". So it is like an instance of the commandbutton class that you can add code to and get the inherited behavior by running DODEFAULT().

That is because there is no "parent class" there is only the base class and the base class is also the class. There is no need to use DoDefault() in an object created directly from a Base Class, the base class behavior always occurs unless you use NODEFAULT to frustrate it.
Previous
Reply
Map
View

Click here to load this message in the networking platform