PDFium Delphi Component Docs

NextFormFieldIndexForPage function

Unit: PDFium
Finds the next or previous widget annotation index in page tab order

Syntax

function NextFormFieldIndexForPage(FormHandle: FPDF_FORMHANDLE; Page: FPDF_PAGE; CurrentIndex: Integer; GoForward: Boolean): Integer;

Parameters

FormHandleFPDF_FORMHANDLE
PageFPDF_PAGE
CurrentIndexInteger
GoForwardBoolean

Return Value

Integer

Description

Finds the next or previous widget annotation index in page tab order

This helper works directly with FPDF_FORMHANDLE and FPDF_PAGE and leaves component state changes to the caller

Remarks

Example

NextIndex := NextFormFieldIndexForPage(Pdf1.FormHandle, Pdf1.Page, Pdf1.FocusedFormFieldIndex, True);

See Also

TPdf.FocusNextFormField, TPdf.FocusPreviousFormField, FormFieldTabOrderForPage