Sign in Join
FPDoc Onlineexperiment

TForm.AlphaBlendValue property

Member of TFormpublishedIn unit Forms

The translucence level for the form (0=transparent, 255=opaque).

Declaration

pascal
property AlphaBlendValue: default 255;

Description

AlphaBlendValue is a Byte property which indicates the level of translucency for the form when AlphaBlend is set to True. AlphaBlendValue must be in the range 0..255 (for the Byte data type), where 0 represents 100% transparency and 255 is for full opacity.

Changing the value for the property causes the widgetset class to be notified of the change in the property value at run-time when a handle has been allocated for the form.

Set AlphaBlend to True to enable translucency for the form.

AlphaBlend and AlphaBlendValue are used in the implementation of the InitializeWnd method, and passed as arguments to methods in the widgetset class when either of the values are changed.

AlphaBlend and AlphaBlendValue require support from both the Desktop Environment (DE) and the hardware for the system; it may not work on all hardware, or platform / operating system combinations supported as Lazarus targets.

This description is the one of Forms.TCustomForm.AlphaBlendValue.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.