TPDFlibFormSessionTextEditEvent

Data types, forms, events

Description

Receives a transient text replacement before the form session changes its edit buffer

The handler may replace ReplacementText or set Allow to False for an atomic rejection

Declaration

type
  TPDFlibFormSessionTextEditEvent = procedure(Sender: TObject;
    FieldIndex: Integer; EditKind: TPDFlibFormEditKind;
    SelectionStart, SelectionLength: Integer;
    const SelectedText: WideString; var ReplacementText: WideString;
    var Allow: Boolean) of object;

See also

TPDFlibFormSession, TPDFlibFormEditKind, ReplaceSelection