Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem Still Exist with TALK setting
Message
From
16/10/1999 06:41:13
Keith Jones
The It Studio Limited
Brentwood, United Kingdom
 
 
To
06/10/1999 01:36:41
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00273064
Message ID:
00277207
Views:
37
Hi Tariq,

The place to stick your SET TALK OFF is in the form data environment
BeforeOpenTables event. You will need to set all your environment
commands here, as in a private data environment, each form will
use the VFP default settings. I use a function call from there-:
FLibSetEnvironment() && In start up programme.

Oh for a data environment class.

I set SET CENTURY OFF in my startup programme (even though default value).
I my form bass class Load event I check that SET CENTURY has ben set to ON,
then I know that I have remembered to call function FLibSetEnvironment()
which sets Century On.

IF FLiblDevMode && Only check in development mode.
* Make sure developer has FLibSetEnvironment() in Data Enviromment.
IF SET("Century")="OFF" && Fox default and set in startup programme to off.
=MESSAGEBOX("Developer Message-: " + CHR(13) + CHR(13) + ;
"The function FLibSetEnvironment() has not been called in " + CHR(13) + ;
"the form about to activate Data Environment.",48, ;
"This Application Will Close")
CANCEL
ENDIF
ENDIF
Previous
Reply
Map
View

Click here to load this message in the networking platform