Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can a new property be added to a pageframe?
Message
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00682859
Message ID:
00683308
Views:
25
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform