EControl Syntax Editor SDK
TCustomSyntaxMemo.Clear Method

Deletes all text from the edit control.

procedure Clear;

Use Clear to replace the Text property with an empty string. Clear removes all text, not just the selected text. To remove the selected text only, use ClearSelection.

Copyright (c) 2004-2011. All rights reserved.
What do you think about this topic? Send feedback!