diff options
author | graemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf> | 2008-03-19 11:04:42 +0000 |
---|---|---|
committer | graemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf> | 2008-03-19 11:04:42 +0000 |
commit | f169a6e98f3866cf39a4463ea1815abb72b84301 (patch) | |
tree | 464fac60add771db396453e0dcfac2b890ca0289 /src/gui/gui_popupcalendar.pas | |
parent | 790b38ec8407f47b24962d8ebb72fde9f0b28a39 (diff) | |
download | fpGUI-f169a6e98f3866cf39a4463ea1815abb72b84301.tar.xz |
* Finally I seem to have solved the mystery of the ComboBox that refuses to close. And what a silly bug it was.
* Applied a minor fix to CalenderCombo so it behaves like the normal ComboBox.
Diffstat (limited to 'src/gui/gui_popupcalendar.pas')
-rw-r--r-- | src/gui/gui_popupcalendar.pas | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/gui_popupcalendar.pas b/src/gui/gui_popupcalendar.pas index d2129ce8..a70d5a6f 100644 --- a/src/gui/gui_popupcalendar.pas +++ b/src/gui/gui_popupcalendar.pas @@ -768,6 +768,7 @@ begin begin FDropDown := TfpgPopupCalendar.Create(nil, FocusRootWidget); ddw := TfpgPopupCalendar(FDropDown); + ddw.DontCloseWidget := self; { Set to false CloseOnSelect to leave opened popup calendar menu} ddw.CloseOnSelect := CloseOnSelect; ddw.CallerWidget := self; |