GetFormFieldTabSequence
Form fields, viewer interaction
Description
Returns every visible widget in stable document tab order, preferring widget kid indices over parent fields
Page order is primary, followed by the field tab order, then geometry from top to bottom and left to right with the document order breaking ties; the stable insertion sort keeps malformed duplicate tab positions deterministic
Syntax
Delphi
Function TPDFlibViewer.GetFormFieldTabSequence(Out FieldIndices: TPDFlibViewerFormFieldIndices): Integer;Parameters
| FieldIndices | Receives a dynamic array of one-based field indices in tab order; the array is emptied first |
|---|
Return values
| 0 | No library is attached, the output array stays empty |
|---|---|
| Positive value | Number of indices written into FieldIndices |
See also
TPDFlibViewer, FocusNextFormField, FormFieldAtPagePoint, HighlightFormFields