PDFium Component Docs

ClearFocusedFormField 함수

유닛: 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