Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form and Datasession problem
Message
From
31/03/2004 09:12:12
Mike Sue-Ping
Cambridge, Ontario, Canada
 
 
To
31/03/2004 08:41:17
Mike Yearwood
Toronto, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00891069
Message ID:
00891148
Views:
23
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
Map
View

Click here to load this message in the networking platform