Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

TargetDelete – PB Docs 2022 – PowerBuilder Library

TargetDelete – PB Docs 2022

TargetDelete

PowerScript function

Description

Deletes the target according to the specified ID in a RichTextEdit
control.

Applies to

RichTextEdit controls

Syntax

Argument

Description

rtename

The name of the RichTextEdit control in which you want to
delete the target

id

The ID of the target to be deleted

Return value

Integer.

Returns 1 for success and -1 for failure. If any argument’s value is
null, returns null.

Note

If you delete a target whose ID does not exist, the function will
return 1.

Examples

This example inserts a target called “Test” and deletes the target
according to ID in the RichTextEdit rte_1:

See also

TargetInsert


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