PDFium Delphi Component Docs

ClearFocusedFormField function

Unit: PDFium
Clears the current focused form widget for a PDFium form handle

Syntax

function ClearFocusedFormField(FormHandle: FPDF_FORMHANDLE): Boolean;

Parameters

FormHandleFPDF_FORMHANDLE

Return Value

Boolean

Description

Clears the current focused form widget for a PDFium form handle

This helper works directly with FPDF_FORMHANDLE and FPDF_PAGE and leaves component state changes to the caller

Remarks

Example

if ClearFocusedFormField(Pdf1.FormHandle) then
Pdf1.ReloadPage;

See Also

TPdf.ClearFormFieldFocus, TPdfView.ClearFormFieldFocus, FocusedFormFieldTextForPage