PDFium Component Docs

NextFormFieldIndexForPage-funktio

Unit: PDFium
Etsii seuraavan tai edellisen widget-merkinnän indeksin sivun sarkainjärjestyksestä

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

NextFormFieldIndexForPage walks the widget annotation order for one page and returns the next candidate index relative to CurrentIndex

Set GoForward to True for forward Tab navigation or False for reverse navigation

Remarks

Example

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

See Also

TPdf.FocusNextFormField, TPdf.FocusPreviousFormField, FormFieldTabOrderForPage