PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • "Request for refreshing the display" process
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Called from the "Request for refreshing the display" process of a supercontrol, control template or internal window, the function asks to run the "Request for refreshing the display" process of higher level (the window in most cases but can be a supercontrol, a control template or an internal window). This process will be run at the end of current process.
If this function is called several times in the same process, the "Request for refreshing the display" process will only be run once at the end of the current process.
Note: This function is mainly used:
Example
// Process records
// The graphic interface will have to be updated
RequestUpdateUIParent()
// -----------------------------------------------------------------
// -- Request for refreshing the display of WIN_Contact_Form
// Update the title of the window
MySelf..Title = gpclContactForm.p_sFullname

// Update the linked controls of the window
SourceToScreen()
Syntax
RequestUpdateUIParent([ <Parameter 1> [ , <Parameter 2> [ , ... ]]])
<Parameter 1>: Optional parameter corresponding to the type expected by the "Request for refreshing the display" process
First parameter that will be passed to the "Request for refreshing the display" process of window.
<Parameter 2>: Type of value expected by the "Request for refreshing the display" process
Second parameter that will be passed to the "Request for refreshing the display" process of window.
Remarks

"Request for refreshing the display" process

One of the processes associated with the window is the "Request for refreshing the display" process. This process is used to group the code for updating the window controls: content of controls, status (visible, grayed, ...), static to update, ...
This process may expect parameters. All you have to do is declare a procedure in the process. For example:
// Request for refreshing the display
PROCÉDURE AskForRefresh(RefreshType is boolean)
This process is started upon request by the following functions:
  • RequestUpdateUI: Runs the process at the end of current process (asynchronous execution).
  • ExecuteUpdateUI: Runs the process immediately.
  • RequestUpdateUIParent: Runs the process of higher level at the end of current process (asynchronous execution).
  • ExecuteUpdateUIParent: Immediately runs the process of higher level.
During the call to these functions, you have the ability to specify the value of the parameters expected by the process.
Components
WINDEVReports and Queries wd230vm.dll
Windows Mobile wp230vm.dll
Linux wd230vm.so
Minimum required version
  • Version 22
This page is also available for…
Comments
Click [Add] to post a comment