Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creating custom properties in Form Designer vs. Class De
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00065255
Message ID:
00065257
Vues:
36
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform