PDFium Component Docs

NextFormFieldIndexForPage function

Unit: PDFium
מאתר את אינדקס הערת הרכיב הבאה או הקודמת לפי סדר ה- tab של הדף

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