Yes, exactly. That's why I've been asking if there is any alternative to Divide() such as TCanvas::Add(TPad*); I think that such a function which "automatically" adds a pad into a canvas and takes care of pad's order, etc. may be useful. Clear() before Divide() works fine but I am not sure it is the most efficient way to handle such Add functionality. Best regards, Anton Hi Anton, if you look at the source code of TPad::Divide() you will notice that you cannot avoid the Clear() if you want to change the number of subpads. Cheers Otto
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:41 MET