Hi Christian, do something like: gSystem->Exec(defbrowser+" "+mylinkurl); where defbrowser and mylinkurl are TStrings. -- Fons On Sun, 2003-03-02 at 22:16, cstrato wrote: > Dear Rooters > > I have a name "MyLink" and the corresponding url "http://www.xy.com". > > When TGTextEntry (or TGTextButton) contains the name "MyLink", > clicking on MyName should open the corresponding url in the default > web browser. > > Does there exist some sample code how to achieve this? > > Thank you in advance. > > Best regards > Christian > _._._._._._._._._._._._._._._ > C.h.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 : Thu Jan 01 2004 - 17:50:09 MET