Four Js Development Tools Forum

General => Ask Reuben => Topic started by: Reuben B. on April 26, 2024, 02:16:39 am



Title: Ask Reuben 219 - Current Folder Page
Post by: Reuben B. on April 26, 2024, 02:16:39 am
The concept of folder and page is controlled by the front-end.  The folder page that has the field with focus will be brought to the front by the front-end.  You can provide hints with the ui.Form.ensureElementVisible() method for the case when the field with focus is not in a folder or there is no focusable field (i.e. in a MENU statement), but there is no ui.Form method that explicitly sets the current folder page.
 
Conversely there is no ui.Form method that will return the current folder page.
 
You can write a function that will return the current folder page in some circumstances.

Read more at https://4js.com/ask-reuben/ig-219/