How to set focus on screen re-display.

klaw (@klaw)

10814

0

2

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

A Hello World app with both dynamic output and input fields

8659

0

0

Have some fun with this Connect 4 application!

13628

1

8

This is a variation on the Connect 4 App that will enable multiplayer support.

13620

2

0

This app consumes a web service and display the information in a grid

9617

0

0

This app consumes a web service and display the information in a grid

9433

0

0

This app consumes a web service and display the information in a grid

8997

0

0

Expanded version of the Grid template to add additional paging buttons and modify how the data is supplied to the Grid widget.

12629

0

3

This interactive app prompts the user for key fields to lookup a database record and displays the results

9052

0

0

This interactive app prompts the user for key fields to lookup a database record and displays the results

9395

0

0

This interactive app prompts the user for key fields to lookup a database record and displays the results

9430

0

0

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

8685

0

0

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

8730

0

0