Immediately runs the event "Request for refreshing the display" of the window, page, internal window, internal page, control template or supercontrol.
If the function is called several times during a process, the refresh event will be run several times.
Remark: This function is mainly used:
Versions 21 and later
New in version 21
Versions 24 and later
New in version 24Syntax
ExecuteRefreshUI([<Parameter 1> [... [, <Parameter N>]]])
<Parameter 1>: Type of value expected by the event "Request for refreshing the display"
First parameter that will be passed to the event "Request for refreshing the display" of the window or page.
<Parameter N>: Type of value expected by the event "Request for refreshing the display"
Nth parameter that will be passed to the event "Request for refreshing the display" of the window or page.
Remarks
"Request for refreshing the display" event
One of the events associated with the window (or page) is "Request for refreshing the display". This event is used to group the code for refreshing the window (or page) controls: content of controls, state (visible, grayed, etc.), caption to refresh, etc.
This event can receive parameters. Simply declare a procedure in the event. For example:
// Request for refreshing the display
PROCEDURE AskForRefresh(RefreshType is boolean)
This event is started upon request by the following functions:
- RequestRefreshUI: Runs the event "Request for refreshing the display" at the end of the current process (asynchronous execution).
- ExecuteRefreshUI: Immediately runs the event "Request for refreshing the display".
Versions 22 and laterRequestRefreshUIParent: Runs the event "Request for refreshing the display" of the higher level at the end of the current process (asynchronous execution).
New in version 22RequestRefreshUIParent: Runs the event "Request for refreshing the display" of the higher level at the end of the current process (asynchronous execution).
RequestRefreshUIParent: Runs the event "Request for refreshing the display" of the higher level at the end of the current process (asynchronous execution).
Versions 22 and laterExecuteRefreshUIParent: Immediately runs the event "Request for refreshing the display" of the higher level.
New in version 22ExecuteRefreshUIParent: Immediately runs the event "Request for refreshing the display" of the higher level.
ExecuteRefreshUIParent: Immediately runs the event "Request for refreshing the display" of the higher level.
When these functions are called, you can specify the value of the parameters expected by "Request for refreshing the display".
Remark: The event "Request for refreshing the display" can also be immediately run by
ExecuteProcess with the following syntax:
ExecuteProcess(<Element name>, trtRequestUpdate)
Business / UI classification : Neutral code