Sign in Join
FPDoc Onlineexperiment

TBitBtn.DrawEffectsEnabled property

Member of TBitBtnpublishedIn unit Buttons

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

Declaration

pascal
property DrawEffectsEnabled:;

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. Changing the property value causes the window handle to be recreated in the LCL interface.

See the TButtonGlyph.Draw and TButtonGlyph.GetImageIndexAndEffect methods for more information about how the value is used to draw the glyph on the control.

Use GlyphShowMode to control whether glyphs are visible on the button control.

This description is the one of Buttons.TCustomBitBtn.DrawEffectsEnabled.

See also

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