PDFium Component Docs

ClearFocusedFormField function

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

Syntax

function ClearFocusedFormField(FormHandle: FPDF_FORMHANDLE): Boolean;

Parameters

FormHandleFPDF_FORMHANDLE

Return Value

Boolean

Description

ClearFocusedFormField removes focus from the currently focused widget associated with the supplied PDFium form handle

TPdf.ClearFormFieldFocus and TPdfView.ClearFormFieldFocus use this helper for component-level focus clearing

Remarks

Example

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

See Also

TPdf.ClearFormFieldFocus, TPdfView.ClearFormFieldFocus, FocusedFormFieldTextForPage