|
|
|
|
|
- "Request for refreshing the display" event
- MVP: Presentation attribute
ExecuteUpdateUI (Function) In french: ExécuteMiseAJourIHM
Warning
From version 25, this function is kept for backward compatibility. It is recommended to use ExecuteRefreshUI.
Immediately executes the "Request for refreshing the display" event 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. Note: This function is used in particular: Syntax
ExecuteUpdateUI([<Parameter 1> [... [, <Parameter N>]]])
<Parameter 1>: Type of value expected by the "Request for refreshing the display" event First parameter that will be passed to the "Request for refreshing the display" event of the window or page. <Parameter N>: Type of value expected by the "Request for refreshing the display" event Nth parameter that will be passed to the "Request for refreshing the display" event 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 together the update code for window (or page) fields: field content, status (visible, grayed-out, etc.), label to be updated, etc. This event can receive parameters. Simply declare a procedure in the event. For example:
PROCEDURE AskForRefresh(RefreshType is boolean)
This event is started upon request by the following functions: - RequestUpdateUI: Executes the "Request for refreshing the display" event at the end of the current process (asynchronous execution).
- ExecuteUpdateUI: Immediately executes the "Display update request" event..
- RequestUpdateUIParent: Executes the "Request for refreshing the display" event of the higher level at the end of the current process (asynchronous execution).
- ExecuteUpdateUIParent: Immediately executes the "Request for refreshing the display" event of the higher level.
When these functions are called, you can specify the value of the parameters expected by "Request for refreshing the display". Note: The "Display update request" event can also be executed immediately with the ExecuteProcess function, using the following syntax: ExécuteTraitement(<Nom élément>, trtDemandeMiseAJour) Business / UI classification: Neutral code
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|