Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can we read/write custom property?
Message
De
12/12/1999 12:50:21
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00302338
Message ID:
00302415
Vues:
21
Hi Nadya and Jim,

>I would suggest ONLY using assign and/or access methods when they are required because they cause a performance hit on accessing and assigning to properties and if they aren't needed then there is no benefit of having them there.

I should add this; Nadya is talking about a custom property on a page, not a pageframe which makes an assign method more difficult. The pages have to be able to be removed and added at runtime like a normal PageFrame.

We could add a custom page class to the pageframe. THe pages are popuilated at deisgn time, then we have to switch at runtime. But the only way I see that (correct me if I'm wrong guys), is to save all the properties and objects with properties of the page, remove the page, add the custom class, and restore all the stuff from variables. That seems like alot of work when you can just settle on a method call.

I would also like to add this: THIS_ACCESS falls miserably short of its potential. I though it would work out, but is really useless (though I did some neat stuff with it in my OO Data class).
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform