Do someone have a hint about how to
create ToolBar with ToolButtons at
runtime ?
Chris
* Sent from AltaVista http://www.altavista.com Where you can also find related Web Pages, Images, Audios, Videos, News, and Shopping. Smart is Beautiful
MyNewToolBar:=TToolbar.Create(form1);
MyNewToolBar.Parent:=form1;
MyNewButton:=TToolButton.Create(MyNewToolBar);
MyNewButton.Parent:=MyNewToolbar;
And don't forget: you need ComCtrls in the uses clause.
Gilles
The Sweed <christer.t.joh...@se.abb.com.invalid> wrote in message
news:00372b38...@usw-ex0109-069.remarq.com...
MyNewToolBar := TToolbar.Create(Form1);
MyNewToolBar.Parent := Form1;
MyNewButton := TToolButton.Create(Form1);
MyNewButton.Parent := MyNewToolbar;
"De Kapitein" <kapi...@theship.com> schreef in bericht
news:8mr72m$fph$1...@porthos.nl.uu.net...