Ignore_Exit ignored?

Started by James Zukowski, March 17, 2020, 10:38:03 AM

Previous topic - Next topic

James Zukowski

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

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 - http://www.bbsysco.com
eMail: mike.king@bbsysco.com