Mike Sue-Ping
Cambridge, Ontario, Canada
Mike Yearwood
Toronto, Ontario, Canada
General information
Category:
Forms & Form designer
I thought of that before. I set a breakpoint on SET("TALK"), which showed "OFF", then run the form. The stuff immediately scrolls in the VFP SCREEN before SET("TALK") finally stops the code. When it stops, SET("TALK") still shows "OFF" in the debugger and it paused on a line in the form's load event that says SET TALK OFF.
Go figure. This is too weird.
Mike
>Hi Mike
>
>It may be getting turned on again. Set a breakpoint on SET("TALK").
>
>>Hi Mike,
>>
>>I have SET TALK OFF in the Load event of form class. I tried to put SET TALK OFF in the Load event of the form itself and neither makes a difference. I even put SET TALK OFF in the Init of the form's Dataenvironment and same thing happens. The information is always displayed, scrolling in the VFP SCREEN.
>>
>>I know it has to do with the form's dataenvironment since everything works fine if I change the latter from "Private" to "Default dataenvironment".
>>
>>Any other ideas?
>>
>>Regards,
>>
>>Mike
>>
>>>SET TALK is scoped to the datasession and defaults to ON. In your form superclass, you need to add a method that you use to establish your preferred defaults. Call that method from your form superclass's load event.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only