TargetGetName
PowerScript function
Description
Gets the name of the specified target in a RichTextEdit
control.
Applies to
RichTextEdit controls
Syntax
|
1 |
rtename.TargetGetName (long id) |
|
Argument |
Description |
|---|---|
|
rtename |
The name of the RichTextEdit control in which you want to |
|
id |
The target ID you want to obtain |
Return value
String.
Returns the name of the target if it succeeds and returns an empty
string (” “) if an error occurs. If the id argument is null, the function
returns null.
Examples
This example gets the name of the target through the target ID in
the RichTextEdit rte_1:
|
1 2 3 4 5 6 7 |
string ls_targetname long ll_id ll_id = rte_1.TargetInsert("Test",false) rte_1.TargetSetName(ll_id,"Report") ls_targetname= rte_1.TargetGetName(ll_id) MessageBox("TargetGetName",ls_targetname) |
See also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest