summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graemeg@gmail.com>2014-03-24 05:50:17 +0000
committerGraeme Geldenhuys <graemeg@gmail.com>2014-03-24 05:50:17 +0000
commit177302bd3a4c83e01452883694aa52fa4cea94f3 (patch)
tree3d284181a332f2fe5762bf1e4129bd3dd89feaff
parentc216e838de70ff2eec6223434627773a27a1262b (diff)
downloadfpGUI-177302bd3a4c83e01452883694aa52fa4cea94f3.tar.xz
Publishes the OnKeyPress event for TfpgButton
We had that event all implemented, and it is useful ever for buttons - so I decided to publish it too.
-rw-r--r--src/gui/fpg_button.pas1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/fpg_button.pas b/src/gui/fpg_button.pas
index df0b6ad0..b3bb60c6 100644
--- a/src/gui/fpg_button.pas
+++ b/src/gui/fpg_button.pas
@@ -173,6 +173,7 @@ type
property OnDragStartDetected;
property OnEnter;
property OnExit;
+ property OnKeyPress;
property OnMouseDown;
property OnMouseExit;
property OnMouseEnter;