Hi Alexandre, the TGComboBox::Select() should do that. Note, you have to use Select(1) to get the first item and not Select(0). For example modify $ROOTSYS/tutorials/guitest.C and in TestDialog::HandleButtons(), in repsonse to some button being clicked call fCombo->Select(1). Cheers, Fons. Alexandre Inyakin wrote: > > Hi, > > Does anybody know how to select item and make it visible in the combo box > window by software and not by mouse. The Select method don't do that. > > Thank you, Alexander -- Org: CERN, European Laboratory for Particle Physics. Mail: 1211 Geneve 23, Switzerland E-Mail: Fons.Rademakers@cern.ch Phone: +41 22 7679248 WWW: http://root.cern.ch/~rdm/ Fax: +41 22 7677910
This archive was generated by hypermail 2b29 : Fri Jun 08 2001 - 11:51:25 MEST