Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
The Programming Mess
Message
De
14/05/2013 10:23:06
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01572688
Message ID:
01573778
Vues:
73
>If you really want to, you could implement the same behavior in VFP using a THIS_Access method. That's how FoxMock (https://bitbucket.org/cwollenhaupt/foxpert.tools.foxmock) is creating mock objects that pretend to have properties and methods that are defined at runtime.

That trick is exactly what Steven Black recommended to me, and I now have a global oSettings object that will return any setting it doesn't have as an empty string (or null, depending on yet another setting), but will have that setting thereafter.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform