TextFieldGetType
PowerScript function
Description
Gets the type of the specified text field in a RichTextEdit
control.
Applies to
Syntax
|
1 |
rtename.TextFieldGetType (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 following strings if it succeeds and an empty string
(“”) if an error occurs. If the id argument is null, returns null.
standard — The standard text type.
externallink — The external link.
internallink — The internal link.
Examples
This example inserts a text field (with a text value “Test”) and
gets the type through the ID of the text field in the RichTextEdit
rte_1:
|
1 2 3 4 5 6 |
string ls_type integer li_id li_id = rte_1.TextFieldInsert("Test") ls_type = rte_1.TextFieldGetType (li_id) MessageBox("TextFieldGetType",ls_type) |
See also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest