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

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to