PDFium Component Docs

ClearFocusedFormField fonksiyon

Unit: PDFium
Bir PDFium form tanıtıcısı için geçerli odaklı form widget öğesini temizler

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