Hello, I'm trying to create a Control Bar that has two columns using the following commands: { TControlBar* hybbar = new TControlBar("horizontal","SVT Ladder"); hybbar->SetNumberOfColumns(2); hybbar->AddButton(" 1 - 1 ",".x DrawHist.C(*phist,1, 1)","Wafer 1, Hybrid 1"); hybbar->AddButton(" 1 - 2 ",".x DrawHist.C(*phist,1, 2)","Wafer 1, Hybrid 2"); hybbar->AddButton(" 2 - 1 ",".x DrawHist.C(*phist,2, 1)","Wafer 2, Hybrid 1"); hybbar->AddButton(" 2 - 2 ",".x DrawHist.C(*phist,2, 2)","Wafer 2, Hybrid 2"); hybbar->Show(); gROOT.SaveContext(); } But, all that I get is a vertical one column bar. What is missing here? Thanks for your help, Marcelo. Marcelo G. Munhoz Universidade de Sao Paulo - Brazil/ Wayne State University phone: (313)5775419
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:32 MET