Deletes all content from the specified control, but does not store it in the clipboard.
RichTextEdit
objectname.ClearAll ( )
Argument |
Description |
---|---|
objectname |
Name of the RichTextEdit control |
Long. Returns the number of characters removed from the RichTextEdit control.
Use to remove all content from a RichTextEdit control, including any table grids. To just delete selected text, use the Clear function. To delete text and store it in the clipboard, use the Cut function.
This statement clears all content from the rte_1 RichTextEdit control.
rte_1.ClearAll()