Function TWPCustomRtfEdit.ClearSelection(OverwriteProtection:Boolean; UpdateCursorPosition:Boolean) : Boolean
Unit: WPCTRMemo
Class: WPCTRMemo.TWPCustomRtfEdit
Parameters
-
OverwriteProtection:Boolean UpdateCursorPosition:Boolean
Returns
The type of the result value is Boolean.
Description
Deletes the selected text and the selection mark. If the text was selected the result value is TRUE, otherwise it is FALSE.If the property UpdateCursorPosition is TRUE, the cursor is moved to the start of the selected text prior to deleting it.