|
|
|
|
|
Events associated with Camera controls
The following events appear by default in the WINDEV and WINDEV Mobile code editor: | | Event | Runtime condition |
---|
Initializing | Executed when the window is opened. (*) | | 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.
| | 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). | | 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. |
(*) 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: - On the "Window" tab, in the "Order" group, click "Initialization".
- In the window that appears, use the arrows on the right to change the order in which the controls are initialized.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|