Mike Yearwood
Toronto, Ontario, Canada
Information générale
Catégorie:
Codage, syntaxe et commandes
>>>>>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement