Vcl.ComCtrls.TDrawSectionEvent

提供: RAD Studio API Documentation
移動先: 案内検索

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 System::Types::TRect &Rect, bool Pressed);

プロパティ

種類 可視性 ソース ユニット
type
typedef
public
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls Vcl.ComCtrls

説明

TDrawSectionEvent は、THeaderControl クラスの OnDrawSection イベントで呼び出される手続きです。


このイベント ハンドラのパラメータは以下のとおりです。

Section は、再描画されるヘッダー セクションです。

Rect はヘッダー セクションの表示矩形です。

セクションがボタンとして表示されようとしていて、そのボタンが現在押された状態にある場合、Pressed は true です。

関連項目