Both ThisForm and _Screen have the LockScreen property. If you are updating a lot of things, you can flip it to .T. then flip it back to .F. when done.
Remember, if you _Screen.LockScreen, then the user moves the form, it leaves bits of the form outline behind.
I've never changed the visibility of _Screen after I made it visible.
Oh, if there is an ActiveX object on the form, LockScreen does nothing to help it. Some of them may expose the right hWnd value to allow you to use the API for it.
HTH, Tracy
-----Original Message----- From: ProfoxTech [mailto:profoxtech-bounces@leafe.com] On Behalf Of MB Software Solutions, LLC Sent: Tuesday, May 07, 2019 4:04 PM To: profoxtech@leafe.com Subject: Old Andy Kramek trick from WhilFest years ago...I can't recall exactly how he said it
Years ago (2003?) at WhilFest (Great Lakes Great Databases Workshop), speaker and Fox great Andy Kramek showed us some cool alternate refresh/repaint routine, and I think it was where he said LockScreen = .T. and then set the _screen.visible = .F., but can't recall.
Does anybody remember that? This is one of those things that has always bugged me and I wanted to get resolution on it.
tia, --Mike
--- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus
[excessive quoting removed by server]