Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Protected property is italics
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00608655
Message ID:
00610994
Vues:
26
>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform