PDFium Component Docs

NextFormFieldIndexForPage funkcija

Unit: PDFium
Pronalazi sljedeći ili prethodni indeks anotacije widgeta u redoslijedu tabulatora stranice

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