PxPlus User Forum

Twitter Twitter Twitter

Author Topic: Ignore_Exit ignored?  (Read 1143 times)

James Zukowski

  • Diamond Member
  • *****
  • Posts: 307
    • View Profile
Ignore_Exit ignored?
« on: March 17, 2020, 10:38:03 AM »
To avoid certain problems on one of our panels, I set the Ignore_Exit flag in the Pre-Display routine for the window. This works fine...until focus goes to another window - any other window. Upon return to this panel, it seems the Ignore_Exit setting is cleared.

Is this proper procedure?

I've gotten around it by adding some checks in the On Exit routine, but I thought this would carry through without any problem.

PxPlus 13.10, WindX using *nthost/*ntslave, Linux 5, Windows 10
James Zukowski
Sr. Developer - J&E

BRAND>SAFWAY
Brand Industrial Services

Mike King

  • Diamond Member
  • *****
  • Posts: 3817
  • Mike King
    • View Profile
    • BBSysco Consulting
Re: Ignore_Exit ignored?
« Reply #1 on: March 17, 2020, 10:43:18 AM »
Technically the Ignore Exit is only supposed to be set in your On Exit logic.  If set there the panel will not be closed.

It is also reset whenever a panel exits thus when you bring up a new window, it is clearing the Ignore flag.
Mike King
President - BBSysco Consulting
eMail: mike.king@bbsysco.com