Vcl.CategoryButtons.TCategoryButtons.OnDrawButton
Delphi
property OnDrawButton: TCatButtonDrawEvent read FOnDrawButton write SetOnDrawButton;
C++
__property TCatButtonDrawEvent OnDrawButton = {read=FOnDrawButton, write=SetOnDrawButton};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | published | Vcl.CategoryButtons.pas Vcl.CategoryButtons.hpp |
Vcl.CategoryButtons | TCategoryButtons |
Description
Fired when a button needs to be redrawn.
The OnDrawButton event is fired when a button needs to be redrawn. This action prevents default drawing.
OnDrawButton is an event handler of type Vcl.CategoryButtons.TCatButtonDrawEvent.