|
|
|
|
|
- "Request for refreshing the display" event
- "Presenter" attribute
RequestRefreshUIElement (Function) In french: DemandeMiseAJourUIÉlément Requests the execution of the "Request for refreshing the display" event of the specified element (and gives back control without waiting for the execution of the event). This function is mainly used: - when refreshing the UI via threads.
- when using "container" fields: internal window, internal page, field template, supercontrol, etc.
- when using child windows, etc.
RequestRefreshUIElement(WIN_Child)
MySelf.Title = gpclContactForm.p_sFullname
SourceToScreen()
Syntax
RequestRefreshUIElement(<Element> [, <Parameter 1> [... [, <Parameter N>]]])
<Element>: Window, page or control name Element for which the "Request for refreshing the display" event must be executed. This element can correspond to the name of a window, page, internal window or page, window or page template, control template, supercontrol, etc. <Parameter 1>: Optional parameter corresponding to the type 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 control. <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 control. Remarks "Request for refreshing the display" event The "Display update request" event is used to group together the field update code for the element in question: field content, status (visible, grayed, etc.), label to be updated, etc. This event is available for windows, internal windows, pages, internal pages, field templates and supercontrols. 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: - RequestRefreshUI: Executes the "Request for refreshing the display" event at the end of the current process (asynchronous execution).
- ExecuteRefreshUI: Immediately executes the "Request for refreshing the display" event.
- RequestRefreshUIElement: Executes the "Request display update" event for the specified element at the end of current processing (asynchronous launch).
- ExecuteRefreshUIElement: Immediately executes the "Request for refreshing the display" event of the given element.
- RequestRefreshUIParent: Executes the "Request for refreshing the display" event of the higher level at the end of the current process (asynchronous execution).
- ExecuteRefreshUIParent: 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".
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|