GetTabSequence
Forms, interaction, input
Description
Computes the navigation order over all visible Widgets of a TPDFlibFormSession, across pages in page order
/Tabs, across pages in page order
Entries are grouped by page and ordered within each page by its /S value: /R follows the structure tree, /C orders by rows and
/R and /C honor a right-to-left ViewerPreferences /Direction by mirroring the horizontal comparison
/Annots by mirroring the horizontal comparison
Structure order walks the document structure tree recursively including object references, annotation order comes from each page
Fields with Widget kids contribute one entry per visible kid through their temporary Widget indexes
Declaration
function GetTabSequence(
out FieldIndices: TPDFlibFormFieldIndices): Integer;
Parameters
| FieldIndices | Receives the ordered field and temporary Widget indexes, empty on failure |
|---|
Return value
Returns the number of entries in FieldIndices, or 0 when no library is attached or no visible Widget exists
See also
FocusNext, HitTest, GetFieldPageRect, TPDFlibFormFieldIndices, TPDFlibFormSession