Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Screen Shows Verbiage
Message
From
15/03/2021 16:00:48
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01678986
Message ID:
01679001
Views:
48
Thanks for the input Naomi et al,

I placed following code in the form Load events:

SET CENTURY ON
*SET CLASSLIB TO
SET DELETED ON
SET ESCAPE ON
SET EXACT OFF
SET EXCLUSIVE OFF
SET MULTILOCKS ON
SET PROCEDURE TO
SET SAFETY OFF
SET STATUS bar off
SET CLOCK STATUS
SET TALK OFF
SET NOTIFY off

The user login form has these settings in the Load eent of the login form. The login form also has a Registration button that pulls up another form (register form). It simply hides teh user login form, and brings up the registration form. When it pulls up the registration form, i notice the statements on the screen, "Selected xx records in 0.005 seconds etc".

I was assuming that the Set Talk Off would have prevented that from showing.....


>Thanks for the input. I have all my sets in a custom class (oPro.SetEnv). >Thanks. So I am using private datasessions in my forms data environment. So does that mean I need to Set Talk to Off in all Load events of my forms?
>
>That, and a bunch of other SETs, goes into a routine (in a .prg, not in an already existing object!*) which you'd call from the .load() of each form class which has private DS. And then you have it everywhere and forget about it, until someone asks a question like this :).
>
>The reason for the * there is that any object which already exists would execute its code in the DS in which it was created, so the settings it puts would apply to that datasession, not to your form's.

Just add this setting into your custom class too.
Thanks in Advance.

J. Turner
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform