Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can a new property be added to a pageframe?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00682859
Message ID:
00683424
Vues:
29
Thanks for the reply, Jim..
Actually, Sergey suggested exactly what I was looking for: Use the AddProperty method to add the Properties at runtime, which was I did.

Regards


>>Is it possible to add a property to a pageframe, or for that matter, any object, just as you can for the form?
>>
>>TIA
>
>You can add new properties to any class definition. The restriction in the VFP designers is that you can add properties and emthods only to the outer most container in the designer. That means, in the form designer you can add properties to the form only. If you are creating a formset, you can only add properties and methods to the formset. However, in the class designer if you are designing a pageframe class then you can add properties to the pageframe class (but not the pages in it).
>
>So to add properties to a pageframe you need to create a class for the pageframe, add the properties you want and htne put that pageframe class in your form.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform