Vcl.ComCtrls.TDrawSectionEvent
Delphi
TDrawSectionEvent = procedure(HeaderControl: THeaderControl;
Section: THeaderSection; const Rect: TRect; Pressed: Boolean) of object;
C++
typedef void __fastcall (__closure *TDrawSectionEvent)(THeaderControl* HeaderControl, THeaderSection* Section, const Winapi::Windows::TRect &Rect, bool Pressed);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
type typedef |
public | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | Vcl.ComCtrls |
Description
TDrawSectionEvent is a procedure called by the THeaderControl class OnDrawSection event.
The event handler takes the following parameters.
Section is the header section that is being redrawn.
Rect is the display rectangle for the header section.
Pressed is true if the section is being displayed as a button, and that button is currently in its depressed state.