Recent

Author Topic: ToolButton.MenuItem.OnClick don't called. LCL-Bug?  (Read 4151 times)

SunyD

  • Guest
ToolButton.MenuItem.OnClick don't called. LCL-Bug?
« on: September 22, 2010, 04:21:58 pm »
OnClick-Events from ToolButton' submenus don't called more.
I think it's LCL-BUG.
It worked before but now with SVN-Revision 27275 (2010-09-06) they don't work.

It created Menutoolbar yesterday and searched 5 hours why menu-clicks don't work. Until i found that this with normal toolbars don't work more.

I will install yet latest snapshot maybe it works again  ::)

See example-projekt at attach what i mean:

SunyD

  • Guest
Re: ToolButton.MenuItem.OnClick don't called. LCL-Bug?
« Reply #1 on: September 22, 2010, 04:59:38 pm »
I forget it doesn't work in older versions from lazarus.
It works only with ToolButton.DropdownMenu.

SunyD

  • Guest
Re: ToolButton.MenuItem.OnClick don't called. LCL-Bug?
« Reply #2 on: September 22, 2010, 06:00:11 pm »
I use toolbutton.dropdownmenu property yet the new Menutoolbar-component works great.

I wonder why toolbutton.menuitem property don't worked. Is it useless?

 

TinyPortal © 2005-2018