PDFium Component Docs

OnFormFieldFocusChange event

Component: TPdfView  ·  Unit: PDFium
Dipicu ketika TPdfView memindahkan atau menghapus kursor fokus field AcroForm logis

Syntax

property OnFormFieldFocusChange: TPdfFormFieldFocusEvent;

Description

Event menerima indeks field baru, atau -1 ketika kursor fokus dihapus. Event ini dimunculkan oleh metode navigasi fokus TPdfView, bukan oleh metode TPdf

Gunakan event untuk memperbarui teks status, menyinkronkan kursor ucapan, atau memilih entri FormFieldInfo yang sesuai

Remarks

Example

PdfView1.OnFormFieldFocusChange := PdfFormFieldFocusChange;

procedure TMainForm.PdfFormFieldFocusChange(Sender: TObject; FieldIndex: Integer);
begin
  StatusBar1.SimpleText := IntToStr(FieldIndex);
end;

See Also

FocusFormField, FocusNextFormField, FocusPreviousFormField, ClearFormFieldFocus