Gets the name of the input field when the insertion point is in an input field in a RichTextEdit control.
RichTextEdit controls
rtename.InputFieldCurrentName ( )
Argument |
Description |
---|---|
rtename |
The name of the RichTextEdit control in which you want to get the input field’s name |
String. Returns the name of the input field. If the insertion point is not in an input field or if an error occurs, it returns the empty string ("").
This example gets the name of the input field containing the insertion point:
string ls_inputname
ls_inputname = rte_1.InputFieldCurrentName()