[Lazarus] IDE CoolBar issue

Ondrej Pokorny lazarus at kluug.net
Wed Sep 9 07:42:08 CEST 2015


On 09.09.2015 07:37, patspiper wrote:
> Can you then show example code on how to add a dropdown button to the 
> IDECoolbar?
>
> Stephano
You have to register your own TIDEToolButton descendant with the command.
See e.g. 'ide\desktopmanager.pas'

TShowDesktopsToolButton = class(TIDEToolButton)

it is registered in 'ide\mainbase.pas'
itmToolManageDesktops.ToolButtonClass:=TShowDesktopsToolButton;

Ondrej




More information about the Lazarus mailing list