Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problems with
Message
De
24/07/2002 10:35:22
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
24/07/2002 10:32:02
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00682035
Message ID:
00682039
Vues:
18
>We have designed some new form classes in VFP 6.0 that are sending TALK to our logo screen, which remains on the FoxPro desktop all the time. We have never had this problem in the past with 5.0 or earlier classes build in 6.0. This problem has just recently started. I have traced through the code when these forms start up, and a LPARAMETERS statement in one of the methods called when the form starts up is setting TALK back to ON for no apparent reason.
>
>Has anyone seen this behavior before?
>
>Bryan A. Jackson
>FOCUS-CMC
>Oklahoma City, OK

The lparameters statement just happens to be the first statement executed.

The thing is, SET TALK ON is scoped to the current datasession. Probably you are using a private datasession (which you should). This will restore SET TALK (and a host of other settings) to the default, on form start.

To solve this, SET TALK ON (or OFF), and change some other settings (especially SET DELETED ON) in the base class of your forms.

HTH, Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform