Description
Get the data in the specified input field in a RichTextEdit control.
Applies to
RichTextEdit controls
Syntax
rtename.InputFieldGetData ( inputfieldname )
Argument |
Description |
---|---|
rtename |
The name of the RichTextEdit control in which you want to get data from the selected input field |
inputfieldname |
A string whose value is the name of input field from which you want to get the data |
Return value
String.
The data in the input field. InputFieldGetData returns the empty string ("") if the field does not exist or an error occurs.
Examples
This example gets the data in the input field empname:
string ls_name ls_name = rte_1.InputFieldGetData(empname)
See also