PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
  • Displaying the Widget window
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Refreshes a Widget window and runs the event "Refresh widget".
Versions 26 and later
This function is now available for iPhone/iPad applications.
New in version 26
This function is now available for iPhone/iPad applications.
This function is now available for iPhone/iPad applications.
Example
WidgetDisplay(WIN_Widget1)
// Event "Refresh the WIN_Widget widget"
// Refreshes the APT
RefreshAPT()
 
WidgetDisplay(WIN_Details)
Syntax
WidgetDisplay([<Window used>])
<Window used>: Optional window name
Name of the Widget window to be refreshed.
Android Widget If this parameter is not specified or corresponds to an empty string (""), the current window will be manipulated.
iPhone/iPad The name of the window must be between quotation marks. If this parameter is not specified, all the widget windows in the application will be refreshed.
Remarks

Displaying the Widget window

Widget windows are displayed by the process that manages the device's home screen. Widgets are not refreshed permanently but only in the following cases:
  • After adding a new instance of the widget to the Home screen.
  • After clicking the widget (or one of its controls).
  • After updating the content of the widget.
WidgetDisplay is used to force the refresh of the display. This function also runs the event "Refresh widget" in the Widget window.
Business / UI classification: UI Code
Minimum version required
  • Version 18
Comments
Click [Add] to post a comment