Force screen refresh in iNomads

Started by bteixeira, November 18, 2020, 02:05:08 PM

Previous topic - Next topic

bteixeira

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

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

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