TPDFlibFormScriptEvent

Data types, forms

Declaration

TPDFlibFormScriptEvent = Record
  Value: WideString;
  Change: WideString;
  ChangeEx: WideString;
  SourceFieldIndex: Integer;
  RC: Boolean;
  WillCommit: Boolean;
  FieldFull: Boolean;
  KeyDown: Boolean;
  Modifier: Boolean;
  Shift: Boolean;
  SelStart: Integer;
  SelEnd: Integer;
  CommitKey: Integer;
End;

Fields

ValueThe field value exposed as event.value
ChangeThe text change exposed as writable event.change
ChangeExThe export value associated with the change
SourceFieldIndexThe one-based source field, or zero to use the target field
RCThe event acceptance state
WillCommitWhether the keystroke event is the final commit event
FieldFullWhether the field has reached its character limit
KeyDownWhether the event represents key-down processing
ModifierThe platform modifier-key state
ShiftThe Shift-key state
SelStartThe zero-based UTF-16 selection start
SelEndThe zero-based UTF-16 selection end
CommitKeyThe commit method identifier

See also

ExecuteFormFieldScriptEvent, TPDFlibFormScriptAction