Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Elusive SET TALK Command
Message
De
04/03/2008 14:10:30
Mike Yearwood
Toronto, Ontario, Canada
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01298531
Message ID:
01298563
Vues:
19
>>>>>When I pick a form off the menu, I'm starting to see output text scrolling down the desktop.
>>>>>The first line in the Load Event is SET TALK OFF.
>>>>>
>>>>>So how do I find out where this is happening?
>>>>
>>>>Immediately after the SET TALK OFF in the load, add SET STEP ON. Run the form. Set a breakpoint to SET("TALK")="ON" or step until you see it switched on.
>>>
>>>
>>>The text is appearing BEFORE the form load.
>>
>>Put SET("TALK") in the Watch window, set a breakpoint on it, and run your code. Then you'll see how it's getting set on.
>>
>>Tamar
>
>
>I tried that. I can't step through the code because it's being toggled all over the plce in the framework, which
>fires the breakpoint nonstop.

Which framework? If you have a dataenvironment the form initialization sequence is
dataenvironment.opentables
.beforeopentables
form.load
dataenvironment.init
form.init
form.show
form.activate

Maxframe - I think you have that - If you're using a dataenvironment, you may need to add THISFORM.DEBeforeOpenTables() as the very first line in the dataenvironment.beforeopentables, which among other things will turn off SET TALK.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform