PxPlus User Forum

Main Board => Discussions => Nomads => Topic started by: James Zukowski on March 17, 2020, 10:38:03 AM

Title: Ignore_Exit ignored?
Post by: James Zukowski 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
Title: Re: Ignore_Exit ignored?
Post by: Mike King 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.