PDFium Component Docs

NextFormFieldIndexForPage функція

Unit: PDFium
Знаходить наступний або попередній індекс анотації віджета в порядку вкладок сторінки

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