Toolbar problems in cloning TCanvas

Hi,

I am trying to clone a number of of TCanvi in a macro. Apparently, randomly, half of them have the root toolbar at the top and the others don’t. I can reproduce this behaviour on the command line too, but only if assign the cloned canvas to a TCanvas pointer. Mostly, I’m puzzled by this, but what I’d like to know is whether there is a way to get rid of the toolbar on the command line?

I’m using root v4-00-03

Thanks!
Heather

You can toggle the tool bar with
canvas.ToggleToolBar();

The problem with the toolbar when cloning the canvas was fixed
in a recent version . Try 4.03/04

Rene