summaryrefslogtreecommitdiff
path: root/src/corelib/fpg_main.pas
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/fpg_main.pas')
-rw-r--r--src/corelib/fpg_main.pas2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/corelib/fpg_main.pas b/src/corelib/fpg_main.pas
index 0e2f5384..a83c5590 100644
--- a/src/corelib/fpg_main.pas
+++ b/src/corelib/fpg_main.pas
@@ -229,6 +229,7 @@ type
FHintTimer: TfpgTimer;
FHintWidget: TfpgWindow;
FHintPos: TPoint;
+ FOnKeyPress: TKeyPressEvent;
procedure SetHintPause(const AValue: Integer);
procedure SetupLocalizationStrings;
procedure InternalMsgFreeMe(var msg: TfpgMessageRec); message FPGM_FREEME;
@@ -270,6 +271,7 @@ type
property ShowHint: boolean read FShowHint write SetShowHint default True;
property StopOnException: Boolean read FStopOnException write FStopOnException;
property OnException: TExceptionEvent read FOnException write FOnException;
+ property OnKeyPress: TKeyPressEvent read FOnKeyPress write FOnKeyPress;
end;