Contents Screen
STEREO Custom Controls

The STEREO Custom Controls (TStereoButton and TStereoSpeaker) are part of the User-Installabel help demo.  For more information, see USERHELP.WRI, located in \DELPHI\DEMOS\USERHELP.


TStereoButton

The TStereoButton class is a push button which provides a two-state switch (on/off) by displaying a light indicating which state the button is in.

See also:

IsOn property

OnColor property

OffColor property


TStereoSpeaker

Perhaps the most useless control yet designed, the TStereoSpeaker control simply plays a Wave file when clicked.

See also:

WaveFile property


IsOn property of TStereoButton
IsOn property

property IsOn: Boolean;

The IsOn property is used to query or set the state of TStereoButton.  When this property is True the button light is drawn using OnColor, and when InOn is False, the light is drawn using OffColor.

See also:

OnColor property

OffColor property


OnColor property

The OnColor property contains the color used to draw the TStereoButton light when its IsOn property is True.


OffColor property

The OffColor property contains the color used to draw the TStereoButton light when its IsOn property is False.


WaveFile property

This property defines the filename for the TStereoSpeaker.