OnFocusChanged

Forms, interaction

Description

Occurs after each completed focus transition of the TPDFlibFormSession

The callback reports the previous and the new Widget index once the transition has finished, including transitions to zero that follow a rejected /Fo action or a blur

Transitions where both indexes are equal do not raise the callback

Declaration

property OnFocusChanged: TPDFlibFormSessionFocusEvent;

Handler parameters

SenderSession that completed the transition
OldFieldIndexPreviously focused field or temporary Widget index
NewFieldIndexNewly focused field or temporary Widget index, or zero when focus was cleared

See also

NotifyFocusChanged, OnAction, FocusField, Blur, FocusedFieldIndex