PDFium Delphi Component Docs

NextFormFieldIndexForPage função

Unidade: PDFium
Encontra o índice widget seguinte ou anterior na ordem Tab da página

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 percorre a ordem de anotações widget de uma página e retorna o índice candidato seguinte em relação a CurrentIndex

Defina GoForward como True para navegação Tab para frente ou False para navegação reversa

Remarks

Example

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

See Also

TPdf.FocusNextFormField, TPdf.FocusPreviousFormField, FormFieldTabOrderForPage