Re: [Lazarus] Option to deactivate always open Menu Editor

2016-10-09 Thread Michael W. Vogel via Lazarus
Am 09.10.2016 um 21:43 schrieb Juha Manninen via Lazarus: I am puzzled, what is the purpose of the now uncommented TMenuItemsPropertyEditor? As its comment says "property editor for TMenuItem properties. Invokes the parent menu's component editor." ... but the whole idea was NOT to invoke i

Re: [Lazarus] Option to deactivate always open Menu Editor

2016-10-09 Thread Juha Manninen via Lazarus
OK! Your patch made me understand the actual problem The OnDesignerSetSelection handler was only added to GlobalDesignHook when the form was created but it was never removed. That was another bug. The right place to add/remove that handler is when the window is shown/hidden. I fixed it in r53087.

Re: [Lazarus] Option to deactivate always open Menu Editor

2016-10-09 Thread Juha Manninen via Lazarus
On Sun, Oct 9, 2016 at 9:57 PM, Michael W. Vogel via Lazarus wrote: > I tested the issue a while and I can't see any unwanted side effects, so I > added a patch here: http://bugs.freepascal.org/view.php?id=30712 Thanks. I will test it soon... I am puzzled, what is the purpose of the now uncommen

Re: [Lazarus] Option to deactivate always open Menu Editor

2016-10-09 Thread Michael W. Vogel via Lazarus
Hi Juha, I tested the issue a while and I can't see any unwanted side effects, so I added a patch here: http://bugs.freepascal.org/view.php?id=30712 See you Kind regards Michl Am 07.10.2016 um 16:31 schrieb Juha Manninen via Lazarus: On Fri, Oct 7, 2016 at 4:42 PM, Michael W. Vogel via Laz

Re: [Lazarus] Option to deactivate always open Menu Editor

2016-10-07 Thread Juha Manninen via Lazarus
On Fri, Oct 7, 2016 at 4:42 PM, Michael W. Vogel via Lazarus wrote: > I checked r53075 (32bit FPC trunk r34637, Windows 7). The behaviour here > isn't changed. Always, I select a MenuItem in object inspector, the menu > editor is opened. > A other curious thing (I don't know if it is wanted), in i

Re: [Lazarus] Option to deactivate always open Menu Editor

2016-10-07 Thread Michael W. Vogel via Lazarus
Hi Juha, I checked r53075 (32bit FPC trunk r34637, Windows 7). The behaviour here isn't changed. Always, I select a MenuItem in object inspector, the menu editor is opened. A other curious thing (I don't know if it is wanted), in its Caption stands: "Form1.MainMenu1.MenuItem1 - OnClick: is not

Re: [Lazarus] Option to deactivate always open Menu Editor

2016-10-07 Thread Juha Manninen via Lazarus
On Sat, Sep 24, 2016 at 12:38 AM, Michael W. Vogel wrote: > In 1.6, I could create some MenuItems, close the Menu Editor. Then, in > Object Inspector, I rename the MenuItems and gave them some Actions. > > In 1.7, always when I select a MenuItem in Object Inspector, the Menu Editor > is opened. Is

[Lazarus] Option to deactivate always open Menu Editor

2016-09-23 Thread Michael W. Vogel
Hi, I like the new Menu Editor in Lazarus 1.7 Trunk, it is much better than in Lazarus 1.6! There is one thing, which I liked more in 1.6 than in 1.7. In 1.6, I could create some MenuItems, close the Menu Editor. Then, in Object Inspector, I rename the MenuItems and gave them some Actions.