summaryrefslogtreecommitdiff
path: root/src/gui/gui_menu.pas
AgeCommit message (Collapse)Author
2008-02-22* Applied Jean-Marc's ListBox patch.graemeg
* Applied Jean-Marc's RadioButton patch. * Applied Jean-Marc's Menu patch. * Fixed a auteresize issue in the Label component. * Added a new AutoSize property to the RadioButton and improved on Jean-Marc's patch for autosizing the text.
2008-02-18* I think I fixed the issue with PopupWindows taking focusgraemeg
under Windows. * I think I fixed the click selection issues in ComboBoxes. * Also I believe the Calendar component now works under Windows. * Menuse should now works correctly. All the above tested on Win2k. * Due to the above changes I had to modify resizer component in the UI Designer. There is still one minor issue, but that should be fixed soon.
2008-02-17* Minor fixes to the mouse and menu handling.graemeg
2008-02-17* Added a new MenuOptions property to MenuBar components. This controls some ↵graemeg
menu behaviors.
2008-02-15* Applied Jean-Marc's TextColor and BackgroundColor patch.graemeg
* Made many more modifications based on Jean-Marc's patch and fixed a few things missed.
2008-02-01* Menu items that are disabled now appear as selected when the mouse moves ↵graemeg
over them, but they are still not clickable. This is normal GUI behaviour in other toolkits as well.
2008-02-01* Applied patch from Jean-Marc which fixes a minor issue in the TfpgMemo and ↵graemeg
TfpgMenu components. It also adds a new BackgroundColor property to TfpgButton. * Minor fixes to Jean-Marc's patch with button painting. * The threedee example now uses the new Button.BackgroundColor property.
2008-01-26* Middle mouse button click was never detected.graemeg
* CaptureMouse and ReleaseMouse is now not used by default for the TfpgPopupWindow class. * Menu mouse behaviour improved * Fixed Combobox dropdown that did not react to mouse clicks. * Removed support for changing the focused item with the arrow keys. It's not standard behaviour.
2008-01-07* Moved many methods from Public to Private or Protected in gui_menu.pasgraemeg
* Added a lot more sanity checks to prevent unnecessary processing. * Removed unnecessary requests for painting outside the HandlePaint method. * Menus are working again under Windows.
2008-01-04* GUI: Moved all MenuItem painting into the Paint event handler.graemeg
* GUI: MenuItems OnClick is now triggered on mouse button up (like all other toolkits). * GUI: Clicking outside a menu while it's open doesn't trigger the OnClick event anymore. * Examples: Extended the menu example to show when each menu item's OnClick was triggered. * All the above needs testing under Windows.
2007-11-29* Created a new overloaded CentrePoint function.graemeg
* Implemented a new method TfpgPopupMenu.MenuItemByName * Created a example project showing how the ICommand and ICommandHolder interfaces can be used.
2007-10-28* Fixed the menu click issue under Windows.graemeg
* Added a new DumpStack procedure to help programmers debug there code.
2007-10-05* Implemented a UTF8Insert() and UTF8Delete() proceduresgraemeg
* Fixed up TfpgEdit to now use the UTF-8 versions of Insert() and Delete() which fixes some of the keyboard input issue. * Removed stacks of compiler warnings all over the place. * Fixed up the TfpgMemo to now use the UTF-8 versions of Insert() and Delete() which fixes some of the keyboard input issues.
2007-09-26* Added copyright information in the GUI units.graemeg
2007-08-30* Changed the unit output path of the CoreLib and GUI (Lazarus) packages to ↵graemeg
the lib directory in the root of fpGUI. They are now the same as when you compile from the comand line. * Implemented the TfpgMenuBar keyboard shortcut feature. For example you can now press Alt+F to open the File menu. * Modified the menutest example to show the above change.
2007-08-27* Implemented List Mediators with tiOPF support and added a demo.graemeg
* Added a quick workaround for the InvertCaret function causing a AV. * MenuBar now keeps the current menu focused even if you open more than 2 levels deep of Popup Menus. * Added some TODO entries to Widgets. Also published some missing properties. * Fixed repainting issue with TfpgComobBox when you set the Width from code and made the component focusable. Not sure why it wasn't! * Updated Lazarus IDE code template for new fpGUI applications.
2007-08-21* GDI: Fixed popup window support.graemeg
* Improved menu painting with a bit of optimization. * GDI: Implemented OnDoubleClick in TfpgWidget. * Implemented DoubleClick in FileDialog (tested under Windows only) * GDI: Fixed minor bug in DoWindowToScreen which prevented popup windows from working.
2007-08-21* GDI: Added missing units to GFX package.graemeg
* GDI: Finally fixed the implementation of modal window support.
2007-08-21* Fixed a minor memory leak in fpgApplication. We still have quite a few graemeg
more to fix in the future. * Change menu accelarator key painting from a Bold style to the more traditional Underline style. * Fixed a minor bug in the Canvas.DrawString with Underline style enabled.
2007-08-20* MenuBar height is now calculated based on Menu Font.graemeg
* Testing UTF-8 text support in menus. * Removed the bluecurve theme and started implementing a more Win2000 look.
2007-08-20* I commit this menu changes for reference in a future theme.graemeg
* Extended the Menu Example * Changed Popup menus to be activated on MouseUp and not MouseDown. * Implemented a Bluecurve theme look in the menu. See the first point for reason.
2007-08-20* Added keyboard handling in PopupMenus.graemeg
* Improved the look of Popup Menus to look more 3D like Win2000. * Fixed a bug where sub-sub menus didn't close when you selected a new top level menu.
2007-08-20* Implemented a most of the Menu component. It's stillgraemeg
incomplete though and still needs testing under both platforms. * Added a new menu example project.
2007-08-13* Started implementation of a menugraemeg