Dear ROOT, I am making a controlbar in a program, but I don't know why the buttons do not appear. Do I have to give an additional command? This is what I have basically: TControlBar commandolijst("vertical", "Commando's"); commandolijst.AddButton("Set Input File", "SetInputFile()", "Give name of file to process"); commandolijst.AddSeparator(); commandolijst.AddButton("Calculate Efficiency" , "EfficiencyDetermination()", "Determine efficiency"); commandolijst.AddButton("Calculate Resolution", "ResolutionDetermination()","Determine resolution"); commandolijst.Show(); And for later: How exactly do I tell it what to do if the button is pressed. Do I have to give "MyRoutine()" as a second argument to AddButton? ********************************************************************** * Maarten Bruinsma * * ----------------------- * * Werk: Prive: * * NIKHEF/ HERA B Ruysdaelkade 189 HS * * Kruislaan 409 1072 AV AMSTERDAM * * Postbus 41882 tel. (020) 6758856 * * 1009 DB AMSTERDAM * * tel. (020) 5922116 email: t26@nikhef.nl * * fax. (020) 5995155 http://www.nikhef.nl/user/t26/* **********************************************************************
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:26:18 MET