hola estoy creando una toolbar por codigo, pero nose komo destruirla, crearla la creo asi.
Código:
toolbar1 := TToolBar.Create(Self);
ToolBar1.Parent := Self;
toolbar1.Width:=161;
toolbar1.Width:=240;
ToolBar1.ShowCaptions := True;
ToolBar1.Height := 40;
Como la puedo destruir????? hago en un buttonclick un toolbar1.destroy y me da error. saludos!