PxPlus User Forum

Main Board => Discussions => Nomads => Topic started by: Peter.Higgins on June 03, 2021, 11:45:48 AM

Title: Object dependency For Windows
Post by: Peter.Higgins on June 03, 2021, 11:45:48 AM
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.
Title: Re: Object dependency For Windows
Post by: Mike King on June 03, 2021, 12:14:57 PM
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.
Title: Re: Object dependency For Windows
Post by: Peter.Higgins on June 03, 2021, 12:29:04 PM
Thanks Mike.
Have a terrific day.