Re: [ROOT] Link from GUI to URL

From: cstrato (aon.912121399@aon.at)
Date: Mon Mar 03 2003 - 20:26:06 MET


Dear Fons

Thank you, I did not know that it is that easy.

Best regards
Christian


Fons Rademakers wrote:

>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
>>_._._._._._._._._._._._._._._
>>    
>>



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:09 MET