How to set focus on screen re-display.

About This Space

A Rich Display File application that stored the focus in a hidden field and uses that field to apply focus when the screen is re-drawn.


Last updated on August 16, 2019

Public Permissions:   View   Open/Fork   Run   Comment  

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

Write Preview Markdown: bold italic code link
Post

More Spaces By klaw (@klaw)

Filters:

Popular Recent

This is a full database maintenance CRUD application with view, change, add, and delete capabilities

6185

0

0

Displaying information in grids is fundamental to developing applications. This demo application displays a list of products in a grid.

5362

0

0

A simple Rich Display app that shows how to focus a widget via JavaScript

7310

0

0

A simple app to be called from RPG. It leverages the node-isbn package to resolve ISBN numbers and get the book title

5363

0

0

5777

0

0

Empty template with the basics set up for a quick display.

5760

0

0

Displaying information in grids is fundamental to developing applications. This demo application displays a list of products in a grid.

5973

0

0

Displaying information in grids is fundamental to developing applications. This demo application displays a list of products in a grid.

6328

0

0

Displaying information in grids is fundamental to developing applications. This demo application displays a list of products in a grid.

4731

0

0

An application to test the hardware failure in my mouse.

3645

0

0

A simple dashboard example that uses responsive design

4275

0

0

A demo of how to build and consume Web Services with and without parameters

6044

0

0