[Lazarus] TToolButton dropdown

Richard Mace richard.mace at gmail.com
Mon Apr 9 08:58:36 CEST 2012


Hi,
I have a TToolButton in a tool bar, with it's style set to tbsDropDown and
have linked the DropDownMenu property to a drop down menu.
All is working fine when I click on the "down arrow" to the right of the
button, however, I'd really like the button to also activate the dropdown
menu when it is clicked.
Could someone give me an example of how I could code that please for the
OnClick event of the button?

Thanks

Richard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20120409/4fe9ee99/attachment-0002.html>


More information about the Lazarus mailing list