FMX.Memo.TCustomMemo.ClearSelection

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure ClearSelection; deprecated 'Use DeleteSelection method instead';

C++

void __fastcall ClearSelection _DEPRECATED_ATTRIBUTE1("Use DeleteSelection method instead") (void);

Properties

Type Visibility Source Unit Parent
procedure
function
public
FMX.Memo.pas
FMX.Memo.hpp
FMX.Memo TCustomMemo

Description

Warning: ClearSelection is deprecated. Please use DeleteSelection.


Removes the selected text from the memo control.

Use ClearSelection to delete the selected text from the memo control. If the ReadOnly property is True or if no text is selected, ClearSelection does nothing.

Note: Calling ClearSelection has the same result as setting the SelText property to a blank string.

See Also