ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Mobile specific functions / Widget functions
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
Specifies the procedure that will be called when the user clicks an iOS 14 widget. This function must be used in the "Initializing" event associated with the project, specifying the "iOS" target.
Example
<IF ExecutionTarget=iOS>
WidgetProcedure(OnWidgetClick)
<END>
Syntax
WidgetProcedure(<WLanguage procedure>)
<WLanguage procedure>: Procedure name
WLanguage procedure ("callback") called when an iOS 14 widget is clicked. This procedure has the following format :
PROCEDURE <Procedure name> (<Element name>)
where <Element name> corresponds to:
  • the full name of the clicked control (medium or large widgets),
  • the window name (small widgets).
This procedure can also be an internal procedure.
Minimum version required
  • Version 26
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help