Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
I am getting SET TALK ON information in my form?
Message
De
12/10/2000 13:45:51
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00426000
Message ID:
00428665
Vues:
15
>>>>>> The reason is that your forms probably use private data sessions. SET TALK setting have data session scoop, so you need to set it again for each form that have private data session.

>>>>>In my case it is with a class that i run as a modal form.
>>>>>I have no private datasessions.
>>>>>It only happens if the statusbar is off
>>>>
>>>>What is the DataSession property of your modal form class? If it's anything other than 1, it's using a private datasession.

>>>Just looked again, and they are 1 - Default datasession.
>>
>>If your modal form is set to Default datasession, that means it's inheriting it's TALK setting from the form that called it (along with all other datasession specific settings). I guess I never see that behavior because I've always got the statusbar turned on.

>I have set talk off everywhere i know
>It already starts in the config.fpw where i set talk to off.
>But it happens only when the statusbar is off.
>When the statusbar is active i don'tget the talk on my form.

Are you sure that SET TALK OFF is the first thing that's executed in your Load method? Are you using forms with a DataEnvironment? If you're using a DE, you'll have to put a SET TALK OFF in all of your BeforeOpenTables methods of the DE (a real bother), or at least call some other function that makes all of your SET's that are datasession dependant.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform