ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / Developing an application or website / Controls, windows and pages / Controls: Available types / Camera control
  • Default events
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Default events
The following events appear by default in the WINDEV and WINDEV Mobile code editor:
EventRuntime condition
InitializingExecuted when the window is opened. (*)
AndroidiPhone/iPad Click the control
Executed when clicking the control.
This event allows you, for example, to take a picture or record a clip (and then stopping it) by clicking on the preview.
Warning
This event can only be and executed if the Camera control is in "Version-26-compatible" mode.
AndroidiPhone/iPad Zoom in or out
Executed when the user zooms in or out in the Camera control
Note: This event is only available for Camera Fields created with version 27 or higher (field not having the "Compatible 26" option ticked in the "General" tab of the field description window).
AndroidiPhone/iPad Decoding a bar code
Executed when a bar code is detected by the camera.
This event is only available if bar code decoding has been configured in the "Details" tab of the control description window.
This event has the following format:
PROCEDURE DécodeCodeBarre(cb est un CodeBarres)
The information read can be retrieved by the BarCode variable.
For more details, see Camera field: decode barcodes.

(*) By default, the "Initialization" event of each control is executed according to the order in which the controls were created in the window. To modify this runtime order:
  1. On the "Window" tab, in the "Order" group, click "Initialization".
  2. In the window that appears, use the arrows on the right to change the order in which the controls are initialized.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/21/2024

Send a report | Local help