ClearAll – PB Docs 2022

ClearAll

PowerScript function

Description

Deletes all content from the specified control, but does not store
it in the clipboard.

Applies to

RichTextEdit

Syntax

Argument

Description

objectname

Name of the RichTextEdit control

Return value

Long.

Returns the number of characters removed from the RichTextEdit
control.

Usage

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.

Examples

This statement clears all content from the rte_1 RichTextEdit
control.

See also

Clear

Cut


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x