SetFormFieldTabOrder

Form fields

Description

Sets the tab order of the specified form field. A position of 1 indicates that the form field is the first field on the page.

If you use this function then you should call SetTabOrderMode with 'S' to set the tabbing mode to Structure mode.

Syntax

Delphi

function TPDFlib.SetFormFieldTabOrder(Index, Order: Integer): Integer;

ActiveX

Function PDFlib::SetFormFieldTabOrder(Index As Long, Order As Long) As Long

DLL

int DLSetFormFieldTabOrder(int InstanceID, int Index, int Order);

Parameters

IndexThe index of the form field that should be moved to a new position in the tab order The new position this form field should be in the tab order. The first position in the tab order has a value of 1.
Order

Return values

0The form field could not be found or the new tab order was out of range
1The tab order of the specified form field was updated successfully