Description
Sets a form field as current. The type of the form field may be FormFieldCheckBox, FormFieldComboBox, FormFieldText, and FormFieldDate.
Applies to
Syntax
rtename.FormFieldSetCurrent(integer fieldID)
Return value
Integer.
Returns 1 if it succeeds. Returns -1 if an error occurs. Returns -2 if the fieldID is non-existent, illegal, or not of the required type. If any argument's value is null, returns null.
Examples
This example sets the form field (field ID: 16) as current. As the result, the text input position goes to the field.
integer li_rtn li_rtn = rte_1.FormFieldSetCurrent(14)