Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Set exact of session
Message
 
 
À
31/05/2005 11:01:14
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:
01018715
Vues:
11
Or it could be a class which restores default settings in its Destroy. This is how it's implemented in Mere Mortals framework.

>>thanks, I'll try to always set those I need.
>
>Hi Ken,
>
>One easy/practical way to handle this is to set your standard environment settings in one function that is part of you main function library.
>This way you can easily set your standard environment settings in one line of code.
>
>
>function set_env
>set deleted on
>set talk off
>set this ...
>set that ...
>.
>.
>.
>return
>
>
>define class mysession as session
>
>  procedure init
>  =set_env()
>  this.open_tables()
>
>  procedure open tables
>  .
>  .
>
>enddefine
>
>
>
>
>
>
>Rgds++
>Sergio
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform