Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Set exact of session
Message
De
31/05/2005 13:25:56
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
 
À
31/05/2005 12:52:42
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows 2000 SP4
Database:
Visual FoxPro
Divers
Thread ID:
01018672
Message ID:
01018770
Vues:
12
>>Or it could be a class which restores default settings in its Destroy. This is how it's implemented in Mere Mortals framework.
>
>session Destroy ?

Knowing CodeBook oriented frameworks, that would be some cSet class, which gets a setting, stores the old setting as a property, sets the new setting - all in .init, and when destroyed, restores the original setting. You need to create one such object for each setting you want to be non-default. The nice thing is that it contains its own cleanup code. You just declare it as local.

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