summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorgraemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf>2008-03-10 11:01:15 +0000
committergraemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf>2008-03-10 11:01:15 +0000
commitbf0176261ba3a2abcd3367019a61e880bf0c2bef (patch)
tree7f56eda86a8bf44e5dd05d0f63b69521e9424e2d /src/gui
parentda58a092fdedcbbaf508952e3dc9e354f9bdedc0 (diff)
downloadfpGUI-bf0176261ba3a2abcd3367019a61e880bf0c2bef.tar.xz
* Applied ListBox patch from Jean-Marc to make OnKeyPress visible.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/gui_listbox.pas1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/gui_listbox.pas b/src/gui/gui_listbox.pas
index 4256cd78..3b48f999 100644
--- a/src/gui/gui_listbox.pas
+++ b/src/gui/gui_listbox.pas
@@ -96,6 +96,7 @@ type
property OnChange: TNotifyEvent read FOnChange write FOnChange;
property OnSelect: TNotifyEvent read FOnSelect write FOnSelect;
property OnScroll: TNotifyEvent read FOnScroll write FOnScroll;
+ property OnKeyPress; // to allow to detect return or tab key has been pressed
end;