FocusedFieldIndex
Forms, interaction, data types
Description
Read-only property of TPDFlibFormSession holding the focused field or temporary Widget index
Focus changes only through the focus path, so /Bl and /Fo dispatch and the commit or cancel of a previous edit always precede a change
A vetoed /Fo action clears the value to 0 and reports that transition through OnFocusChanged
A session reset and attaching another library instance clear the value as well
Declaration
property FocusedFieldIndex: Integer read FFocusedFieldIndex;
Value
Returns the focused field or temporary Widget index, or 0 when no Widget has focus
See also
FocusField, FocusNext, FocusAt, Blur, EditingFieldIndex, HoveredFieldIndex, PressedFieldIndex, TPDFlibFormSession