Forms > Forms Assembly Interfaces > ICustomEdit > ICustomEdit.ClearSelection
ClearSelection;
The ClearSelection method deletes selected text in component.
See also:
ICustomEdit