ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Mobile specific functions / Widget functions
  • 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 "Refresh widget" event.
Example
WidgetDisplay(WIN_Widget1)
// "Refresh the WIN_Widget widget" event
// 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 is 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 forces the display to be refreshed. This function also runs the "Refresh widget" event in the Widget window.
Business / UI classification: UI Code
Minimum version required
  • Version 18
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help