API:Vcl.ComCtrls.TTreeView.OnGetSelectedIndex

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

Delphi

property OnGetSelectedIndex: TTVExpandedEvent read FOnGetSelectedIndex write FOnGetSelectedIndex;

C++

__property OnGetSelectedIndex;

プロパティ

種類 可視性 ソース ユニット
event published
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TTreeView

説明

ツリー ビューがノードの SelectedIndex を検索した際に発生します。

Vcl.ComCtrls.TTreeView.OnGetSelectedIndex は Vcl.ComCtrls.TCustomTreeView.OnGetSelectedIndex を継承しています。以下の内容はすべて Vcl.ComCtrls.TCustomTreeView.OnGetSelectedIndex を参照しています。

ツリー ビューがノードの SelectedIndex を検索した際に発生します。

OnGetSelectedIndex イベント ハンドラを記述すると、ノードの選択されたイメージのインデックスを、それが描画される前に変更することができます。

OnGetSelectedIndex は、Vcl.ComCtrls.TTVExpandedEvent 型のイベント ハンドラです。

関連項目


コード サンプル