PxPlus User Forum

Twitter Twitter Twitter

Author Topic: Object dependency For Windows  (Read 259 times)

Peter.Higgins

  • Gold Member
  • ****
  • Posts: 94
    • View Profile
Object dependency For Windows
« 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.

Mike King

  • Administrator
  • Diamond Member
  • *****
  • Posts: 3532
  • Mike King
    • View Profile
    • PVX Plus Technologies
Re: Object dependency For Windows
« Reply #1 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.

Peter.Higgins

  • Gold Member
  • ****
  • Posts: 94
    • View Profile
Re: Object dependency For Windows
« Reply #2 on: June 03, 2021, 12:29:04 PM »
Thanks Mike.
Have a terrific day.