PxPlus User Forum

Twitter Twitter Twitter

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

Peter.Higgins

  • Diamond Member
  • *****
  • Posts: 124
    • 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

  • Diamond Member
  • *****
  • Posts: 3811
  • Mike King
    • View Profile
    • BBSysco Consulting
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.
Mike King
President - BBSysco Consulting
eMail: mike.king@bbsysco.com

Peter.Higgins

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