AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Funciones WLanguage / Funciones específicas para móviles / Funciones widget
  • 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
Versión mínima requerida
  • Versión 18
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 26/05/2022

Señalar un error o enviar una sugerencia | Ayuda local