Hello.
Could you try with this:
-1) Add mseact in uses section.
-2) The command to hide/show the button num 2:
procedure tmainfo.hidebutton(const sender: TObject);
begin
ttoolbar1.buttons[2].state := ttoolbar1.buttons[2].state + [as_invisible];
end;
procedure tmainfo.showbutton(const sender: TObject);
begin
ttoolbar1.buttons[2].state := ttoolbar1.buttons[2].state - [as_invisible];
end;
--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/
_______________________________________________
mseide-msegui-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk