Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can we read/write custom property?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00302338
Message ID:
00302343
Vues:
24
>Hi everyone,
>
>I'm wondering how can we assign custom property. For example (see another thread from me and Mike Helland), if we created custom property for page - visible (It's a pity, that VFP has not this property for page object), how can we just write this.visible=.f., if this statement requeres some work behind from the class point of view?

Hi Nadya,

Why not use the custom method with necessary code in it instead of property in this case, and call

this.visible(.f.)

Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform