FocusedFormFieldIndex

Form fields, viewer interaction

Description

Read-only property holding the one-based index of the form widget currently holding focus, 0 when none

Interactive clicks, BeginEditFormField and FocusNextFormField set the value; the viewer paints a dotted focus rectangle around the widget, Space or Enter activates a focused button, checkbox or radio widget, and the value resets when the document closes

Syntax

Delphi

Property FocusedFormFieldIndex: Integer Read FFocusedFieldIndex;

See also

TPDFlibViewer, FocusNextFormField, ActivateFormField, BeginEditFormField, EditingFieldIndex