TPDFlibFormScriptEvent
Data types, forms
Description
Carries the field and event values passed into and returned by ExecuteFormFieldScriptEvent, standing in for the Acrobat JavaScript event object during validation, calculation, formatting and keystroke processing
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
| Value | The field value exposed as event.value |
|---|---|
| Change | The text change exposed as writable event.change |
| ChangeEx | The export value associated with the change |
| SourceFieldIndex | The one-based source field, or zero to use the target field |
| RC | The event acceptance state |
| WillCommit | Whether the keystroke event is the final commit event |
| FieldFull | Whether the field has reached its character limit |
| KeyDown | Whether the event represents key-down processing |
| Modifier | The platform modifier-key state |
| Shift | The Shift-key state |
| SelStart | The zero-based UTF-16 selection start |
| SelEnd | The zero-based UTF-16 selection end |
| CommitKey | The commit method identifier |