PDFium Delphi Component Docs

TPdfFormTabOrderStatus

Unit: PDFium
TPdfFormTabOrderStatus = record
  RequestedMode: TPdfFormTabOrderMode;
  EffectiveMode: TPdfFormTabOrderMode;
  SnapshotAvailable: Boolean;
  UsedFallback: Boolean;
  UnstructuredWidgetCount: Integer;
  ErrorMessage: string;
end;
FieldMeaning
RequestedModePage Tabs mode when metadata can be established, otherwise ptmUnspecified
EffectiveModeApplied mode; ptmAnnotationArray on fallback
SnapshotAvailableCurrent native snapshot matched the page count and widget annotation layout, even if the requested policy needs fallback
UsedFallbackThe requested policy was unavailable or unsupported and widget-array order was returned
UnstructuredWidgetCountWidgets appended after valid S references, in annotation-array order; zero for other modes
ErrorMessageBounded diagnostic text for fallback, empty for a successfully applied policy

An empty widget set needs no snapshot: it returns an empty order with SnapshotAvailable=False, UsedFallback=False, RequestedMode=ptmUnspecified and EffectiveMode=ptmAnnotationArray

For a validated nonempty /Tabs /W page, RequestedMode and EffectiveMode are ptmWidget, UsedFallback is False and ErrorMessage is empty; the returned ordinals describe only the widget pass

Use the status overload on TPdf, TPdfView or FormFieldTabOrderForPage to distinguish declared traversal from fallback