PDFium Component Docs

ClearFocusedFormField функція

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