From bf0176261ba3a2abcd3367019a61e880bf0c2bef Mon Sep 17 00:00:00 2001 From: graemeg Date: Mon, 10 Mar 2008 11:01:15 +0000 Subject: * Applied ListBox patch from Jean-Marc to make OnKeyPress visible. --- src/gui/gui_listbox.pas | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gui') 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; -- cgit v1.2.3-70-g09d2