|
|
|
|
|
- Limit: operating system and video card
- Limit: types of windows
- Opacity of Action Bar
- Limit: types of controls
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: - This property can also be applied to a page control.
- This property may not be supported by the former browsers (Internet Explorer 5.5 and earlier, ...).
- For a Color variable, the opacity value is not included between 0 and 100 but between 0 and 255.
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
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>
Related Examples:
|
Unit examples (WEBDEV): Opacity property
[ + ] This example presents the use of the..Opacity property by programming on a cell. The cell contains a virtual keyboard used to enter a password.
|
|
Unit examples (WINDEV): Transparency on the controls
[ + ] Using the transparency on controls.
|
|
Unit examples (WINDEV): Transparency on a window
[ + ] Using the transparency of windows
|
|
Complete examples (WINDEV): WD Magnifier
[ + ] This example enables you to zoom part of the screen with a magnifier. The maximum zoom value is set to 8. Summary of the example supplied with WINDEV: The WLanguge function named dCopyBlt() and the WLanguage property named ..Opacity allow you to perform a capture of the Windows desktop at the location of a window without this window appearing in the screen shot. This example uses this tip to zoom the part of the screen found below the magnifier.
|
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|