summaryrefslogtreecommitdiff
path: root/src/gui/fpg_menu.pas
AgeCommit message (Collapse)Author
2010-05-15When using ICommand (aka actions) it takes preferences over OnClick event ↵Graeme Geldenhuys
handler.
2010-05-12Moved Check image drawing out of TfpgMenuItem.DrawText()Graeme Geldenhuys
* As the method name indicates, it is only supposed to draw text. The check mark drawing is now done in TfpgPopupMenu.DrawItem(). The same location where submenu arrow etc is drawn. * We also now took advantage of the AItemFocused parameter to draw the check mark in inverted colors when selected.
2010-05-12TfpgPopupMenu's DrawItem() and DrawRow() now as AItemFocused propertyGraeme Geldenhuys
This allows us more flexibility in how to draw menu items.
2010-05-07Popup Menu now paints the Checkmark when a MenuItem.Checked = True.Graeme Geldenhuys
* Thanks to JP Anghel for the initial patch. * I added some mods by replacing magic numbers with a constant. * I also removed some old commented code.
2010-03-16MenuBar issues with visibility when created at runtime.Graeme Geldenhuys
A minor fix to correct visibility of child components when creating embedded forms which have menu bars. HandleShow is not called in such cases, so vital code was skipped. This code has now moved to HandlePaint which is always called.
2010-02-26Update copyright notice in all units.Graeme Geldenhuys
2009-12-29MenuBar color is not consistent with Popup Menu seperator items.Graeme Geldenhuys
2009-12-21Causes popup menus to overlap slightly so it is easier to see the z-order.Graeme Geldenhuys
2009-12-10Tweak of color usage and the look of popup menusGraeme Geldenhuys
* Color now more closely matches WinXP colors * Improved the border look of popup menus and any 3d bevels * Replaced standard text drawing with fpgStyle text drawing * Menu dividers are now 3D and not flat black line
2009-11-23Add a Hint property to TfpgMenuItem.Graeme Geldenhuys
* I'm unsure of how exactly I want to use it and how it can tie into a StatusBar component. I'll try and come up with some demo in the future.
2009-10-09Added "dummy" Checked property to Menus.Graeme Geldenhuys
This will be implemented soon. Signed-off-by: Graeme Geldenhuys <graeme@mastermaths.co.za>
2008-09-27* Phase 2 of the unit rename is complete. The gui units have now been renamed.graemeg
* UI Designer has been updated to reflect the new gui unit names.