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