This example shows how to set the focus on the screen from the client side logic when the screen needs to be redrawn.
The 2 key features are the 3 buttons labled 'click me' which have on click events to set a value to a hidden textbox and then uses pui.click() to submit the screen.
The next part happens in the onload event for the record format where it reads the value from the hidden textbox and uses that value to apply focus on the screen.
Be the first to comment:
Comments