Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating custom properties in Form Designer vs. Class De
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00065255
Message ID:
00065257
Views:
40
>I have created a custom form class that includes a number of custom properties and methods that I use in the majority of forms in my application. I have noticed that when modifying a form 'class'; when a property is added there are three choices not avaiable in the form designer: choosing between PUBLIC, PRIVATE and HIDDEN. I want the properties scoped to the active form.
>
>What are the differences between these choices and why are they not available in the Forms Designer (VFP 5.0)?
>Any ideas?
>
>AL

When you create a property in Class Designer, it can be accessed differently by objects instanciated from this class, i.e. the difference is that Class Designer creates class definition which will take one (inheritance) or even more (subclassing) step to get into app, and Form Designer creates immediate app elements. You could check "New Property Dialog Box" article from on-line help to get more explanations.
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform