Syntax 2: For jumping to a specified target by the target
name
Description
Moves the cursor to a specified target by the target name in a
RichTextEdit control.
Applies to
RichTextEdit controls
Syntax
|
1 |
rtename.TargetGoto (string name) |
|
Argument |
Description |
|---|---|
|
rtename |
The name of the RichTextEdit control in which you want |
|
name |
The name of the target that the cursor jumps to. If |
Return value
Integer.
Returns 1 for success and -1 for failure. If any argument’s value
is null, returns null.
Examples
This example moves the cursor to a specified target by the target
name in the RichTextEdit rte_1:
|
1 2 |
integer li_rtn li_rtn = rte_1.TargetGoto("Report") |
See also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest