diff options
author | Graeme Geldenhuys <graemeg@gmail.com> | 2014-08-09 17:23:09 +0100 |
---|---|---|
committer | Graeme Geldenhuys <graemeg@gmail.com> | 2014-08-09 18:06:24 +0100 |
commit | 075447ee3fe5e6fb4cf648a1cf0d0244244714ae (patch) | |
tree | 9876afb0d838e398e9e8156541ef44255360f293 /src/gui | |
parent | 664266e7d0b78bccc0b6ccd4467c9325e7533962 (diff) | |
download | fpGUI-075447ee3fe5e6fb4cf648a1cf0d0244244714ae.tar.xz |
treeview: publish the OnKeyPress and OnKeyChar events
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/fpg_tree.pas | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/fpg_tree.pas b/src/gui/fpg_tree.pas index 7da5205c..6c929b5e 100644 --- a/src/gui/fpg_tree.pas +++ b/src/gui/fpg_tree.pas @@ -1,7 +1,7 @@ { fpGUI - Free Pascal GUI Toolkit - Copyright (C) 2006 - 2011 See the file AUTHORS.txt, included in this + Copyright (C) 2006 - 2014 See the file AUTHORS.txt, included in this distribution, for details of the copyright. See the file COPYING.modifiedLGPL, included in this distribution, @@ -267,8 +267,10 @@ type property TreeLineColor: TfpgColor read FTreeLineColor write SetTreeLineColor default clShadow1; property TreeLineStyle: TfpgLineStyle read FTreeLineStyle write SetTreeLineStyle default lsDot; property OnChange: TNotifyEvent read FOnChange write FOnChange; - property OnExpand: TfpgTreeExpandEvent read FOnExpand write FOnExpand; property OnDoubleClick; + property OnExpand: TfpgTreeExpandEvent read FOnExpand write FOnExpand; + property OnKeyChar; + property OnKeyPress; property OnShowHint; property OnStateImageClicked: TfpgStateImageClickedEvent read FOnStateImageClicked write FOnStateImageClicked; end; |