ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
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
Flash (Property)
In french: Flash
The Flash property determines and changes the flash mode in a Camera control.
Remarks:
  • This property can only be used on Camera controls that are not in "Version-26-compatible mode".
  • This property corresponds to the "Flash" option in the "General" tab of the Camera control description window.
Example
IF CAM_MyCamera.Flash = camFlashOff THEN
CAM_MyCamera.Flash = camFlashAuto
END
Syntax

Determining the flash mode in a Camera control Hide the details

<Result> = <Camera control>.Flash
<Result>: Integer constant
Camera flash mode:
camFlashAutoFlash fired automatically according to the light conditions.
camFlashOffFlash is always off.
camFlashOnFlash is always on.

Flash is disabled by default.
<Camera control>: Control name
Name of the Camera control to be used.

Changing the flash mode in a Camera control Hide the details

<Camera control>.Flash = <New mode>
<Camera control>: Control name
Name of the Camera control to be used.
<New mode>: Integer constant
Camera flash mode:
camFlashAutoFlash fired automatically according to the light conditions.
camFlashOffFlash is always off.
camFlashOnFlash is always on.

Flash is disabled by default.
Related Examples:
WM Photos Cross-platform examples (WINDEV Mobile): WM Photos
[ + ] This Android/iOS example is used to take photos and to save them by specifying a title and keywords.
A search is also available.
The photos are stored in the application directory, therefore they are private (not visible by other applications).
Minimum version required
  • Version 27
Comments
Click [Add] to post a comment

Last update: 03/01/2024

Send a report | Local help