The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....


Unit: SDL_onoffbut
Class: TOnOffBut
Declaration: property Transparent: boolean;

The Transparent property controls whether the button area around the button glyph and the transparent regions of the button glyph are transparent or not. The transparent regions in the button glyph have to be marked by a special markup color (pink = $EBBEEB). If the control is not transparent, the background color is determined by the property ColorBackgnd.

Hint: The Light Edition does not support transparent buttons.

Example: This property is used in the following example program (see for downloading the code): onoffbut

Last Update: 2012-Okt-20