Returns zero-based widget-field ordinals in page tab order, excluding unrelated annotations
function FormFieldTabOrderForPage(FormHandle: FPDF_FORMHANDLE; Page: FPDF_PAGE): TPdfIntegerArray; overload; function FormFieldTabOrderForPage(FormHandle: FPDF_FORMHANDLE; Page: FPDF_PAGE; out Status: TPdfFormTabOrderStatus): TPdfIntegerArray; overload;
Pass the active TPdf form handle and a page registered as its current page, a bound viewer page or a cached form page; the owner supplies the current-document Tabs policy
Arbitrary independently loaded native pages or external form handles cannot establish snapshot ownership and return annotation-array order with a diagnostic; pass only handles from the same document
The return values are widget ordinals accepted by FocusFormFieldForPage, not raw annotation-array indexes; nil handles or pages without widgets return an empty array
R/C/S/A/W policy, finite budgets and fallback rules are shared with TPdf.FormFieldTabOrder; the no-status overload discards diagnostics
Order := FormFieldTabOrderForPage(Pdf1.FormHandle, Pdf1.Page, Status);
TPdfFormTabOrderStatus, NextFormFieldIndexForPage, TPdfView.FormFieldTabOrder