Hi Christian, listboxes can not be disabled. You can disbable it by ignoring some actions when the widget is not active. In General it is difficult to make a global disable for a frame hierarchy since it is not always obvious what the visial feedback should be or which actions should be disabled (e.g. also scrolling in listbox?). But for several widgets a disable makes sense, like buttons, listbox items, etc. and I'll soon add them. Cheers, Fons. On Sunday 09 December 2001 18:56, cstrato@EUnet.at wrote: > Dear Rooters > > In my GUI application I have two RadioButtons, Rad1 and Rad2, > Rad1 should enable TGListBox and disable TGTextEntry, > Rad2 should enable TGTextEntry and disable TGListBox > > While it is possible to enable/disable TGTextEntry, my > question is: How can I disable TGListBox? > > In general, it would be great if class TGFrame could > have the function SetEnabled(flag), which would enable/disable > all of its subframes. > > Thank you in advance for your help. > > Best regards > Christian > ---------------------------------- > C.h.r.i.s.t.i.a.n S.t.r.a.t.o.w.a > V.i.e.n.n.a, A.u.s.t.r.i.a -- 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 7679480
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:51:11 MET