GetFormFieldTabOrder

Form fields

Description

Returns the tab order of the specified form field. The first form field on the page has a tab order of 1.

Syntax

Delphi

Function TPDFlib.GetFormFieldTabOrder(Index: Integer): Integer;

ActiveX

Function PDFlib::GetFormFieldTabOrder(Index As Long) As Long

DLL

int DLGetFormFieldTabOrder(int InstanceID, int Index);

Parameters

IndexThe index of the form field

Return values

Returns the one-based tab order of the specified form field. Returns 0 when the field cannot be found or its widget annotation is not listed among the page annotations.