TextFieldGetText
PowerScript function
Description
Gets the text of the specified text field in a RichTextEdit
control.
Applies to
Syntax
|
1 |
rtename.TextFieldGetText (integer id) |
|
Argument |
Description |
|---|---|
|
rtename |
The name of the RichTextEdit control in which you want to |
|
id |
The ID of the text field you want to obtain |
Return value
String.
Returns the text of the text field if it succeeds and an empty
string (“”) if an error occurs. If any argument’s value is null, returns
null.
Examples
This example inserts a text field (with a text value “Test”) and
gets the text through the ID of the text field in the RichTextEdit
rte_1:
|
1 2 3 4 5 6 |
string ls_text integer li_id li_id = rte_1.TextFieldInsert("Test") ls_text = rte_1.TextFieldGetText (li_id) MessageBox("TextFieldGetText",ls_text) |
See also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest