FormFieldGetCurrent

Description

Gets the ID of the current form field. The type of the form field may be FormFieldCheckBox, FormFieldComboBox, FormFieldText, and FormFieldDate.

Applies to

RichTextEdit control

Syntax

rtename.FormFieldSetCurrent()

Return value

Integer.

Returns the field ID of the current form field, returns -1 if it fails, and returns -1 if the current text input position is not at a form field.

Examples

This example gets the field ID of the current form field.

integer li_n
li_n = rte_1.FormFieldGetCurrent()