RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TRichEdit.OnSelectionChange Event

Occurs when the current selection changes.

Pascal
property OnSelectionChange: TNotifyEvent;
C++
__property TNotifyEvent OnSelectionChange;

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!