juha
fac99eb1ea
Fix compilation of VirtualTreeView after r58939 #508a89d4af. Add a deprecated NewLine(). Issue #34250 , patch from Pascal Riekenberg.
...
git-svn-id: trunk@58946 -
2018-09-11 08:22:23 +00:00
juha
7183dd5d0b
MenuDesigner: Rename a MenuItem when it is changed into a separator.
...
git-svn-id: trunk@58940 -
2018-09-10 22:27:57 +00:00
juha
508a89d4af
LCL: Rename function NewLine -> NewLineMI to avoid name clashes and confusion.
...
git-svn-id: trunk@58939 -
2018-09-10 22:27:55 +00:00
juha
49e55e3acf
LCL: Copy TMenuItem's Name to its Caption after renaming if they were identical. TControl does the same already.
...
git-svn-id: trunk@58938 -
2018-09-10 22:27:49 +00:00
juha
3574bdfb6d
Move debug- & other non-GUI stuff from LCLProc to LazUtilities and LazLogger in package LazUtils.
...
git-svn-id: trunk@58244 -
2018-06-13 13:59:07 +00:00
juha
f440f660a2
Refactor: move CompareMethods to LazMethodList. Keep alias in LCLProc.
...
git-svn-id: trunk@58204 -
2018-06-09 14:39:36 +00:00
juha
7b837567c3
LCL: Support TMenuItem.Assign(TMenuItem) and TMenu.Assign(TMenu). Issue #33345 , patch from AlexeyT.
...
git-svn-id: trunk@57557 -
2018-03-23 10:15:47 +00:00
ondrej
454fc69b9e
LCL: High-DPI ImageList: rename *ForImagePPI to *ForPPI
...
git-svn-id: branches/HiDPIImageList@57068 -
2018-01-13 04:25:01 +00:00
ondrej
90f22ba7fd
LCL: High-DPI ImageList: LCL runtime and win32
...
git-svn-id: branches/HiDPIImageList@57039 -
2018-01-10 12:46:42 +00:00
ondrej
37cd692b1f
lcl: menus: add DoDrawItem and DoMeasureItem virtual functions
...
git-svn-id: trunk@55540 -
2017-07-19 07:28:20 +00:00
ondrej
5b3cd06ae3
LCL: menus: implement StripHotkey (Delphi compatibilty)
...
git-svn-id: trunk@52307 -
2016-05-15 09:26:48 +00:00
ondrej
61f389ffdb
lcl: menus: rename OnAdvancedDrawItem to OnDrawItem and change event call schema
...
git-svn-id: trunk@51503 -
2016-02-05 19:56:04 +00:00
ondrej
71bb9cf00a
lcl: set TMenu.OwnerDrawn default False. Issue #29577 , patch by Alexey Torgashin
...
git-svn-id: trunk@51481 -
2016-02-02 23:01:32 +00:00
ondrej
bd20aff9d3
lcl menus: fix regression and bugs from r51466 #62ef2702b3. remove OnDrawItem and keep OnAdvancedDrawItem only. Issue #26969
...
git-svn-id: trunk@51467 -
2016-02-01 07:13:06 +00:00
ondrej
62ef2702b3
lcl: add ownerdrawn menu support (for now win32 only). Issue #26969
...
git-svn-id: trunk@51466 -
2016-01-31 20:11:28 +00:00
maxim
52d72af31a
LCL: do not mention in comments no longer existing TMenuBar class, bug #26799
...
git-svn-id: trunk@46387 -
2014-09-30 23:20:20 +00:00
juha
cda481e98c
LCL: add a MainMenu.Height property. Issue #26054
...
git-svn-id: trunk@44834 -
2014-04-28 12:50:44 +00:00
sekelsenmat
a29c6d9dec
Applies patch from bug #17519 to fix regression in WinCE menus
...
git-svn-id: trunk@42069 -
2013-07-13 05:12:09 +00:00
mattias
9a518d7730
LCL: setting Action.OnExecute no longer changes the TMenuItem.OnClick
...
git-svn-id: trunk@41416 -
2013-05-26 12:47:37 +00:00
juha
7b162087fd
Improve license headers in sources, part 1. Refer to details about license, not copyright. Remove jargon about lack of warranty, it is covered in license already.
...
git-svn-id: trunk@41387 -
2013-05-24 18:30:06 +00:00
mattias
e25cb27f70
LCL: TMenuItem.AddHandler: changed AsLast to AsFirst for consistency and implemented it
...
git-svn-id: trunk@39783 -
2013-01-06 18:58:47 +00:00
mattias
62fb47e350
LCL: TMenuItem.AddHandler: changed AsLast to AsFirst for consistency and implemented it
...
git-svn-id: trunk@39782 -
2013-01-06 18:58:26 +00:00
maxim
ae9b3c702a
LCL: reverted changes to menus.pp from r36666 #844e616738 (by Paul's request)
...
git-svn-id: trunk@36717 -
2012-04-10 21:41:46 +00:00
juha
844e616738
IDE etc.: unify 3 dots in GUI string to have a space ( ...).
...
git-svn-id: trunk@36666 -
2012-04-09 08:24:59 +00:00
martin
b9adcfa385
ShortCutToKey param as "out" instead of "var"
...
git-svn-id: trunk@34940 -
2012-01-25 23:25:10 +00:00
marc
a52a38101c
lcl: add missing vcl compatible ValidMenuHotkeys
...
git-svn-id: trunk@34472 -
2011-12-28 17:42:50 +00:00
juha
67081e51b3
LCL: Implement procedure TMenuItem.Add(const AItems: array of TMenuItem), Issue #19889
...
git-svn-id: trunk@31975 -
2011-08-13 12:31:37 +00:00
juha
5d796b9cbb
LCL: Remove OldShortCut from SetShortCut parameters and add the real shortcut keys there.
...
git-svn-id: trunk@29872 -
2011-03-16 16:53:36 +00:00
juha
4e6e7a17b8
LCL: rename Menus.Shortcut function back to its Delphi compatible name.
...
git-svn-id: trunk@29859 -
2011-03-15 18:16:38 +00:00
juha
4e95f6a390
LCL: Show menu shortcuts also when they are sequencial keys combinations (like Ctrl+Q, B)
...
git-svn-id: trunk@29853 -
2011-03-15 14:05:55 +00:00
paul
64f66bd4d7
lcl: send CM_MENUCHANGED and CM_TABSTOPCHANGED messages
...
git-svn-id: trunk@27937 -
2010-10-29 07:28:13 +00:00
mattias
cc6da5151d
LCL: added ignore VCL property TMainMenu.AutoMerge, feature 17462
...
git-svn-id: trunk@27484 -
2010-09-26 21:12:56 +00:00
paul
47c3b8be53
lcl, win32: cleanup
...
git-svn-id: trunk@26732 -
2010-07-19 05:43:57 +00:00
paul
424162b12c
lcl: TMenuItem.Command is a 16bit value, not a 32 bit
...
git-svn-id: trunk@26731 -
2010-07-19 03:15:45 +00:00
sekelsenmat
29d3c92962
Improvements to the wince menu code
...
git-svn-id: trunk@26506 -
2010-07-07 14:16:23 +00:00
paul
c24efa3adf
lcl: cleanup + formatting
...
git-svn-id: trunk@24178 -
2010-03-23 08:11:26 +00:00
paul
a49f888148
lcl: implement TMenu.GetHelpContext
...
git-svn-id: trunk@22742 -
2009-11-24 09:30:33 +00:00
paul
ecc39989c4
lcl: add TPopupMenu.HelpContext property
...
git-svn-id: trunk@22741 -
2009-11-24 09:22:35 +00:00
paul
cc5896f4e7
lcl: add TPopupMenu.Alignment, TPopupMenu.TrackButton
...
win32: implement TPopupMenu.Alignment, TPopupMenu.TrackButton
git-svn-id: trunk@22732 -
2009-11-24 07:58:44 +00:00
paul
7d3d566314
lcl: make TActionLink.SetImageIndex argument delphi compatible TImageIndex -> Integer
...
git-svn-id: trunk@22727 -
2009-11-23 15:08:19 +00:00
paul
dd8b4c7a0b
lcl: add TMenuItemEnumerator class, TMenuItem.GetEnumerator method
...
git-svn-id: trunk@22408 -
2009-11-03 15:49:16 +00:00
paul
538e53caad
lcl: use TImageIndex instead of Integer in more cases
...
git-svn-id: trunk@22138 -
2009-10-13 09:24:26 +00:00
paul
eb1e1f863c
lcl: use TImageIndex type instead of Integer for TMenuItem.ImageIndex property
...
git-svn-id: trunk@22129 -
2009-10-13 07:42:59 +00:00
paul
48e060d9f7
lcl: MainMenu refactoring and other menu changes:
...
- AttachMenuToWindow api changed. Now it accepts a window handle and a menu handle instead of TMenu component. This change is made to reduce interfaces dependency from the LCL (in order to reduce exe file size)
- TMainMenu.WindowHandle is introduced for delphi compatibility
- Don't show a main menu for the bsDialog windows (delphi compatibility)
- Explicitly request MainMenu to notify form about destruction
git-svn-id: trunk@21844 -
2009-09-24 09:14:53 +00:00
sekelsenmat
9d1b80451a
Changes all dynamic methods in the ide, lclintf and lcl to virtual methods, because they are the same in fpc and dynamic is a legacy directive
...
git-svn-id: trunk@21280 -
2009-08-18 14:44:25 +00:00
paul
b5301d1c72
lcl: check children handles on menu item LM_ACTIVATE message (fixes win32 part of issue #0014144 )
...
git-svn-id: trunk@20859 -
2009-07-15 03:35:04 +00:00
paul
3f5dc06930
lcl: implement TMenuItem.GlyphShowMode, TApplication.ShowMenuGlyphs, TApplicationProperties.ShowMenuGlyphs
...
git-svn-id: trunk@20192 -
2009-05-25 08:38:20 +00:00
paul
f02c53c71c
merge lcl-smartlink branch:
...
------------------------------------------------------------------------
r19294 | paul | 2009-04-10 11:17:35 +0800 (Птн, 10 Апр 2009) | 1 line
lcl, win32: start optimizations: imglist (all), controls (all), combtrls (statubar)
------------------------------------------------------------------------
r19305 | martin | 2009-04-10 21:53:27 +0800 (Птн, 10 Апр 2009) | 1 line
Moved "DoneRegisterCheck" to global LCL
------------------------------------------------------------------------
r19306 | martin | 2009-04-10 22:14:57 +0800 (Птн, 10 Апр 2009) | 1 line
Moved "DoneRegisterCheck" to global LCL (more)
------------------------------------------------------------------------
r19307 | martin | 2009-04-10 22:22:44 +0800 (Птн, 10 Апр 2009) | 1 line
changed case true => True
------------------------------------------------------------------------
r19308 | paul | 2009-04-10 22:28:28 +0800 (Птн, 10 Апр 2009) | 1 line
fix file case
------------------------------------------------------------------------
r19311 | martin | 2009-04-10 23:09:16 +0800 (Птн, 10 Апр 2009) | 1 line
Moved Registration of TCustomCalendar
------------------------------------------------------------------------
r19312 | martin | 2009-04-10 23:28:03 +0800 (Птн, 10 Апр 2009) | 1 line
Moved PropertyToSkip for TCalender
------------------------------------------------------------------------
r19314 | paul | 2009-04-10 23:50:30 +0800 (Птн, 10 Апр 2009) | 1 line
merge r13913 #999e8b059d
------------------------------------------------------------------------
r19315 | paul | 2009-04-10 23:53:07 +0800 (Птн, 10 Апр 2009) | 1 line
cleanup WSCalendar
------------------------------------------------------------------------
r19316 | paul | 2009-04-11 00:37:44 +0800 (Сбт, 11 Апр 2009) | 1 line
finish with ComCtrls
------------------------------------------------------------------------
r19318 | martin | 2009-04-11 01:37:40 +0800 (Сбт, 11 Апр 2009) | 1 line
Moved dialogs
------------------------------------------------------------------------
r19319 | martin | 2009-04-11 01:47:30 +0800 (Сбт, 11 Апр 2009) | 1 line
Moved dialogs
------------------------------------------------------------------------
r19320 | martin | 2009-04-11 02:47:52 +0800 (Сбт, 11 Апр 2009) | 1 line
Moved ExtCtrls, ExtDlgs
------------------------------------------------------------------------
r19321 | martin | 2009-04-11 03:23:32 +0800 (Сбт, 11 Апр 2009) | 1 line
Moved PropertyToSkip
------------------------------------------------------------------------
r19322 | martin | 2009-04-11 03:37:39 +0800 (Сбт, 11 Апр 2009) | 1 line
Moved StdCtrls
------------------------------------------------------------------------
r19323 | martin | 2009-04-11 04:05:50 +0800 (Сбт, 11 Апр 2009) | 1 line
Moved Buttons
------------------------------------------------------------------------
r19325 | paul | 2009-04-11 11:02:26 +0800 (Сбт, 11 Апр 2009) | 1 line
remove DirSel
------------------------------------------------------------------------
r19326 | paul | 2009-04-11 11:11:37 +0800 (Сбт, 11 Апр 2009) | 1 line
RegisterArrow
------------------------------------------------------------------------
r19327 | paul | 2009-04-11 11:32:09 +0800 (Сбт, 11 Апр 2009) | 1 line
register WS classes only for TCustomXXX classes if they are available (like TCustomScrollBar instead of TScrollBar) and only for those descendants which really differ (like TRadioButton, TToggleButton)
------------------------------------------------------------------------
r19328 | paul | 2009-04-11 11:40:00 +0800 (Сбт, 11 Апр 2009) | 1 line
RegisterCustomCheckBox
------------------------------------------------------------------------
r19329 | paul | 2009-04-11 11:57:22 +0800 (Сбт, 11 Апр 2009) | 1 line
RegisterXXX for Forms
------------------------------------------------------------------------
r19330 | paul | 2009-04-11 12:13:05 +0800 (Сбт, 11 Апр 2009) | 1 line
RegisterCustomGrid + move of RegisterPropertyToSkip
------------------------------------------------------------------------
r19331 | paul | 2009-04-11 12:24:29 +0800 (Сбт, 11 Апр 2009) | 1 line
RegisterXXX for Menus
------------------------------------------------------------------------
r19332 | paul | 2009-04-11 12:35:16 +0800 (Сбт, 11 Апр 2009) | 1 line
RegisterXXX for PairSplitter
------------------------------------------------------------------------
r19333 | paul | 2009-04-11 12:47:39 +0800 (Сбт, 11 Апр 2009) | 1 line
RegisterXXX for Spin
------------------------------------------------------------------------
r19334 | paul | 2009-04-11 12:58:55 +0800 (Сбт, 11 Апр 2009) | 1 line
RegisterCustomRubberBand
------------------------------------------------------------------------
r19335 | paul | 2009-04-11 13:31:43 +0800 (Сбт, 11 Апр 2009) | 1 line
remove 2 initialization sections
------------------------------------------------------------------------
r19336 | paul | 2009-04-11 13:46:26 +0800 (Сбт, 11 Апр 2009) | 1 line
remove TPopupNotifier.png from LCL
------------------------------------------------------------------------
r19338 | paul | 2009-04-11 13:54:03 +0800 (Сбт, 11 Апр 2009) | 1 line
cleanup
------------------------------------------------------------------------
r19341 | paul | 2009-04-11 14:59:27 +0800 (Сбт, 11 Апр 2009) | 1 line
cleanup
------------------------------------------------------------------------
r19343 | martin | 2009-04-11 19:59:18 +0800 (Сбт, 11 Апр 2009) | 1 line
Reduced Unit-Circles, by moving Register* into WS* units
------------------------------------------------------------------------
r19344 | martin | 2009-04-11 20:22:49 +0800 (Сбт, 11 Апр 2009) | 1 line
Dummy file for gtk
------------------------------------------------------------------------
r19345 | martin | 2009-04-11 21:06:55 +0800 (Сбт, 11 Апр 2009) | 1 line
Initial move of gtk1 register
------------------------------------------------------------------------
r19346 | martin | 2009-04-11 21:19:48 +0800 (Сбт, 11 Апр 2009) | 1 line
Missing dependencies in gtk1 wsfactory
------------------------------------------------------------------------
r19347 | martin | 2009-04-11 22:36:42 +0800 (Сбт, 11 Апр 2009) | 1 line
Declare register* in interface, to keep external linker happy
------------------------------------------------------------------------
r19348 | martin | 2009-04-11 23:34:16 +0800 (Сбт, 11 Апр 2009) | 1 line
Declare register* in interface, to keep external linker happy
------------------------------------------------------------------------
r19349 | martin | 2009-04-11 23:39:20 +0800 (Сбт, 11 Апр 2009) | 1 line
moved uses for factory
------------------------------------------------------------------------
r19350 | martin | 2009-04-11 23:41:57 +0800 (Сбт, 11 Апр 2009) | 1 line
corrected a few accidental "Result := False"
------------------------------------------------------------------------
r19351 | paul | 2009-04-12 00:04:15 +0800 (Вск, 12 Апр 2009) | 1 line
removed unused units
------------------------------------------------------------------------
r19352 | paul | 2009-04-12 00:05:26 +0800 (Вск, 12 Апр 2009) | 1 line
qt: move RegisterWS calls to qtwsfactory
------------------------------------------------------------------------
r19354 | paul | 2009-04-12 01:04:04 +0800 (Вск, 12 Апр 2009) | 1 line
wince: move RegisterWS calls to WinCEWSFactory
------------------------------------------------------------------------
r19356 | martin | 2009-04-12 01:39:56 +0800 (Вск, 12 Апр 2009) | 1 line
moved GTK2
------------------------------------------------------------------------
r19357 | martin | 2009-04-12 01:45:31 +0800 (Вск, 12 Апр 2009) | 1 line
moved GTK2 / missing units
------------------------------------------------------------------------
r19358 | martin | 2009-04-12 01:57:43 +0800 (Вск, 12 Апр 2009) | 1 line
Fixed one return value from register
------------------------------------------------------------------------
r19360 | martin | 2009-04-12 02:47:42 +0800 (Вск, 12 Апр 2009) | 1 line
Gtk2 , needs 2 registrations for WinControl
------------------------------------------------------------------------
r19361 | martin | 2009-04-12 02:57:58 +0800 (Вск, 12 Апр 2009) | 1 line
Gtk2 , needs 2nd registrations
------------------------------------------------------------------------
r19368 | paul | 2009-04-12 13:09:59 +0800 (Вск, 12 Апр 2009) | 1 line
cleanup
------------------------------------------------------------------------
r19373 | paul | 2009-04-12 13:45:17 +0800 (Вск, 12 Апр 2009) | 1 line
wince: forgotten file
------------------------------------------------------------------------
r19374 | paul | 2009-04-12 14:04:04 +0800 (Вск, 12 Апр 2009) | 1 line
carbon: move RegisterWSComponent to CarbonWSFactory
------------------------------------------------------------------------
r19375 | paul | 2009-04-12 14:27:47 +0800 (Вск, 12 Апр 2009) | 1 line
cleanup
------------------------------------------------------------------------
git-svn-id: trunk@19376 -
2009-04-12 08:46:31 +00:00
paul
cac90a2be9
lcl, win32: use cLineCaption instead of '-' for separator menu
...
win32: change menu item enabled state when we change caption since we can change caption from '-' to normal caption and vice versa (fixes bug #0012055 )
git-svn-id: trunk@18581 -
2009-02-05 14:54:47 +00:00
paul
bbd473e2ef
lcl: set default values for properties of TMenuItem
...
git-svn-id: trunk@18012 -
2009-01-01 17:00:54 +00:00