PxPlus User Forum

Twitter Twitter Twitter

Author Topic: Using %Nomads'Timeout for Dynamic Refresh  (Read 138 times)

Peter.Higgins

  • Gold Member
  • ****
  • Posts: 91
    • View Profile
Using %Nomads'Timeout for Dynamic Refresh
« 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.

ChrisKCAi

  • Silver Member
  • ***
  • Posts: 24
    • View Profile
Re: Using %Nomads'Timeout for Dynamic Refresh
« Reply #1 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

Peter.Higgins

  • Gold Member
  • ****
  • Posts: 91
    • View Profile
Re: Using %Nomads'Timeout for Dynamic Refresh
« Reply #2 on: June 08, 2021, 10:39:56 AM »
Thanks Chris,
I nominate you for another star/medal. :)