PxPlus User Forum

Twitter Twitter Twitter

Author Topic: Force screen refresh in iNomads  (Read 1097 times)

bteixeira

  • Silver Member
  • ***
  • Posts: 27
    • View Profile
Force screen refresh in iNomads
« on: November 18, 2020, 02:05:08 PM »
Is there a way to force a screen refresh in iNomads?  refresh_flg=1 does not seem to do it.  I'm particularly interested in changing the template in code %inomads'template$="newtemplate" and then redrawing the current screen with the new template.

bteixeira

  • Silver Member
  • ***
  • Posts: 27
    • View Profile
Re: Force screen refresh in iNomads
« Reply #1 on: November 18, 2020, 04:41:06 PM »
Inspecting %inomads'* shows a 'redraw() method that seems to do what I need but isn't documented anywhere.  Anyone know if this is safe to use / which version it was added in?

Mike King

  • Diamond Member
  • *****
  • Posts: 3810
  • Mike King
    • View Profile
    • BBSysco Consulting
Re: Force screen refresh in iNomads
« Reply #2 on: November 19, 2020, 05:10:02 PM »
Generally just changing the %inomads'template$ value forces a redraw of the page -- assuming the value you set to is correct.
Mike King
President - BBSysco Consulting
eMail: mike.king@bbsysco.com