PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
  • Opacity of Action Bar
  • Limit: types of 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
Opacity (Property)
In french: Opacité
The Opacity property is used to get and define the opacity percentage for a window, or for controls in a window or page. This gives you the ability to make a window transparent (or a control found in a window or in a page).
Remarks:
  • For a Color variable, the opacity value is not included between 0 and 100 but between 0 and 255.
Example
Syntax

Finding out the percentage of opacity applied to a window or to a control (found in a window or in a page) Hide the details

<Percentage of opacity> = <Element used>.Opacity
<Percentage of opacity>: Integer
Percentage of opacity for the specified element (window or control). This percentage is included between 0 (invisible window) and 100 (opaque window).
<Element used>: Name of window, control or group of controls
Name of the element to be used:
  • Window name,
    iPhone/iPad Not supported.
  • Name of control,
  • AndroidiPhone/iPad Name of group of controls.

Modifying the percentage of opacity applied to a window or to a control (found in a window or in a page) Hide the details

<Element used>.Opacity = <Percentage of opacity>
<Element used>: Name of window, control or group of controls
Name of the element to be used:
  • Window name,
    iPhone/iPad Not supported.
  • Name of control,
  • AndroidiPhone/iPad Name of group of controls.
<Percentage of opacity>: Integer
New percentage of opacity that will be applied to the specified element (window or control). This percentage is included between 0 (invisible window) and 100 (opaque window).
Remarks
AndroidiPhone/iPad

Opacity of Action Bar

To manage the opacity of the Action Bar:
  1. Open the description window of the Action Bar control.
  2. In the "Details" tab:
    • Check "Make the bar background transparent".
    • Specify which bars are taken into account: "Action Bar" or "Action Bar and system bar".
  3. Validate.
  4. The Action Bar is transparent. The opacity of the Action Bar can be changed with the Opacity property.
For more details, see Describing the Action Bar control.
AndroidiPhone/iPad

Limit: types of controls

The Opacity property is only available for the following controls:
  • Edit control,
  • Static,
  • Button,
  • Check Box,
  • Radio Button,
  • List box, combo box,
  • Image,
  • Table cell (in read-only),
  • TreeView,
  • Android Group of controls.
  • AndroidiPhone/iPad Action Bar control.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment