PxPlus User Forum

Main Board => Discussions => Nomads => Topic started by: Peter.Higgins on June 07, 2021, 07:30:55 PM

Title: Using %Nomads'Timeout for Dynamic Refresh
Post by: Peter.Higgins on June 07, 2021, 07:30:55 PM
I have setup a panel to refresh based on a drop box selection and set %Nomads'Timeout in the drop box event.
In On_Exit I trapped the timeout and issue a reload.  At this point everything is great, but issuing a return just completes the panel shutdown.  Having done this in the past, I believe I am missing something simple and important like a preinput or resetting the %NOMADS'Timeout.  The latter doesn't work btw.
Title: Re: Using %Nomads'Timeout for Dynamic Refresh
Post by: ChrisKCAi on June 08, 2021, 07:45:23 AM
Before the return in your ON_EXIT routine:
if ctl=-1900 then let IGNORE_EXIT=1

Chris
Title: Re: Using %Nomads'Timeout for Dynamic Refresh
Post by: Peter.Higgins on June 08, 2021, 10:39:56 AM
Thanks Chris,
I nominate you for another star/medal. :)