Sign in Join
FPDoc Onlineexperiment

TCustomSpeedButton.DrawEffectsEnabled property

Member of TCustomSpeedButtonpublicIn unit Buttons

Enables or disables Glyph drawing effects for mouse over and mouse down events on the control.

Declaration

pascal
property DrawEffectsEnabled: TGlyphDrawEffectsEnabled read GetDrawEffectsEnabled write SetDrawEffectsEnabled default deeApplication;

Description

DrawEffectsEnabled is a TGlyphDrawEffectsEnabled property which controls whether drawing effects for mouse over and mouse down events are applied to the Glyph for the control. The default value for the property is deeApplication and indicates that the setting in TApplication is used to enable or disable the glyph drawing effects on all button controls where they are relevant.

Use deeSystem to use the capabilities provided in theme services to apply the glyph drawing effects for the control.

Use deeAlways or deeNever to enable or disable glyph drawing effects for the control.

The value for the property is read from and written to the internal TButtonGlyph instance used in the control. See the TButtonGlyph.Draw and TButtonGlyph.GetImageIndexAndEffect methods for more information about how the value is used to draw the glyph on the control.

Added in LCL version 5.0.

See also

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