Re: [ROOT] TGListBox

From: ROHLFS Reiner (Reiner.Rohlfs@obs.unige.ch)
Date: Fri Apr 07 2000 - 09:28:08 MEST


On  7-Apr-00 at 04:32, Patrick Dupre LCMI (pdupre@labs.polycnrs-gre.fr) wrote:
> Wtht a TGListBox, after you have selected one entry, is there any way to
> select any entry ? (The last selected one stays selected).
> Thank.
> 
> -- 
> ---
>
==============================================================================
>    Patrick DUPRE                |   |   Tel:  (33 4) 76-88-78-51
>    CNRS/LCMI (GHMFL)            |   |   Fax:  (33 4) 76-85-56-10
>    25 Rue des Martyrs, BP 166   |   |   http://eschyle.polycnrs-gre.fr
>    F-38042 GRENOBLE Cedex 09    |   |   email: pdupre@polycnrs-gre.fr
>
==============================================================================


Hi Patrick,

there is a method TGListBox::SetMultipleSelections(Bool_t multi).
Call this function with multi set to kTRUE to be able to select more than one
entry in you list box.

Reiner.



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:23 MET