Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set exact of session
Message
 
 
To
31/05/2005 11:01:14
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows 2000 SP4
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01018672
Message ID:
01018715
Views:
10
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform