InputFieldCurrentName

Description

Gets the name of the input field when the insertion point is in an input field in a RichTextEdit control.

Applies to

RichTextEdit controls

Syntax

rtename.InputFieldCurrentName ( )

Argument

Description

rtename

The name of the RichTextEdit control in which you want to get the input field's name


Return value

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 ("").

Examples

This example gets the name of the input field containing the insertion point:

string ls_inputname
ls_inputname = rte_1.InputFieldCurrentName()

See also

InputFieldChangeData

InputFieldDeleteCurrent

InputFieldGetData

InputFieldInsert

InputFieldLocate

DataSource