Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem Still Exist with TALK setting
Message
De
16/10/1999 06:41:13
Keith Jones
The It Studio Limited
Brentwood, Royaume Uni
 
 
À
06/10/1999 01:36:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00273064
Message ID:
00277207
Vues:
38
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform