Object dependency For Windows

Started by Peter.Higgins, June 03, 2021, 11:45:48 AM

Previous topic - Next topic

Peter.Higgins

I am curious if instantiating an object in the pre-display "FOR WINDOW" will garbage collect the object,  or if this must be done in POST-DISPLAY after window creation.   Thinking I've tested in v17 and it only worked in POST-DISPLAY.

Mike King

It would have to be done in the Post-Display of the window since during the pre-display the window does not exist as you can change settings what will be used when the window is created.
Mike King
President - BBSysco Consulting - http://www.bbsysco.com
eMail: mike.king@bbsysco.com

Peter.Higgins

Thanks Mike.
Have a terrific day.