FMX.TreeView.TCustomTreeView.OnChange

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnChange: TNotifyEvent read FOnChange write FOnChange;

C++

__property System::Classes::TNotifyEvent OnChange = {read=FOnChange, write=FOnChange};

Properties

Type Visibility Source Unit Parent
event public
FMX.TreeView.pas
FMX.TreeView.hpp
FMX.TreeView TCustomTreeView

Description

Occurs whenever the selection has changed from one item to another.

Write an OnChange event handler to take specific action when the selected node changes. The Sender parameter is the tree view whose selected item changes.

Note: The OnChange event does not occur for nodes selected using the right mouse button. To respond to changes when the right mouse button is clicked, use the OnMouseUp event.

OnChange is an event handler of type TNotifyEvent.

See Also