At 19:25 2019-05-07, "MB Software Solutions, LLC"
 <[email protected]> wrote:
On 5/7/2019 8:13 PM, Gene Wirchenko wrote: >     I set .lockscreen to .t. at the beginning of instantiating a form > and back to .f. after the setup. I have not looked at the speed-up > recently, but in my testing years ago, it made about a 20% difference. > >     I do not use it otherwise. > When you say "after the Setup", Gene, what event is that...Show() ?

     I misstated some.  The following is after a code check.

     First of all, at the beginning and end of form .init().

Secondly, I have some display routines where a lot happens (basically, a lot of .enable setting). To avoid flicker, I use .lockscreen there, too.

I use .lockscreen minimally. I am not trying to do tricks to speed up display maximally but rather enough that it works.

My display methods are not .show() -- it has never occurred to me to add code to .show() -- but custom methods. They often call .refresh() indirectly. ("indirectly" because I usually do not directly call methods where there is an event of the same name. I tend to call a method that does that call.)

Sincerely,

Gene Wirchenko


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: https://leafe.com/archives
This message: https://leafe.com/archives/byMID/
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to