Vcl.ComCtrls.TCustomRichEdit.OnSelectionChange

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnSelectionChange: TNotifyEvent read FOnSelChange write FOnSelChange;

C++

__property System::Classes::TNotifyEvent OnSelectionChange = {read=FOnSelChange, write=FOnSelChange};

Properties

Type Visibility Source Unit Parent
event protected
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TCustomRichEdit

Description

Occurs when the current selection changes.

Write an OnSelectionChange event handler to respond to changes in the selected text. Changes in selection can occur when the user changes the selection using the mouse or keyboard, or when the selection is changed through the SelText property. Portions of the selection can be changed through the Lines property.

See Also

Code Examples