[vwnc] How to embed an internet link into a user inertface?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[vwnc] How to embed an internet link into a user inertface?

Gruenewald, Tom

Hello.
Is there an easy way to embed an internet link into a user interface?

My short definition of an internet link:
A blue, underlined label. On "mouse over" change the view of the mouse cursor. On "click" open the system internet browser (e.g. Internet Explorer or Firefox) with a given link.
Something like this: http://www.cincomsmalltalk.com

In the last years VisualWorks pushed the internet support so much. There should be a GUI component for this. Any idea?

Best regards,
Tom Grünewald


________

Carl Zeiss Industrielle Messtechnik GmbH
Softwareentwicklung/Software Development

T o m G r ü n e w a l d

73446 Oberkochen, Germany
tel: +49.7364.20-8541
fax: +49.7364.20-4800
email: [hidden email]
http://www.zeiss.de/imt

Carl Zeiss Industrielle Messtechnik GmbH, Carl-Zeiss-Straße 22, 73447 Oberkochen
Aufsichtsratsvorsitzender: Dr. Dieter Kurz
Geschäftsführer: Dr. Rainer Ohnheiser, Felix Hoben, Hanspeter Mürle
Sitz der Gesellschaft: 73446 Oberkochen, Deutschland
Handelsregister: Amtsgericht Ulm, HRB 501561
USt-IdNr.: DE 811 515 346


----------------------------------------
This message is intended for a particular addressee only and may contain business or company secrets. If you have received this email in error, please contact the sender and delete the message immediately. Any use of this email, including saving, publishing, copying, replication or forwarding of the message or the contents is not permitted.


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc

Reply | Threaded
Open this post in threaded view
|

Re: [vwnc] How to embed an internet link into a user inertface?

James Robertson-7
The standard text components of VW do that now when an url is recognized.  Type one into a text widget, and then (either via an event, a button press, what have you), do this:

self myText value: self myText value styleEmbeddedHttps.



James Robertson
Cincom Smalltalk Product Evangelist
Talk Small and Carry a Big Class Library




On Feb 18, 2009, at 9:14 AM, Gruenewald, Tom wrote:

Hello.
Is there an easy way to embed an internet link into a user interface?

My short definition of an internet link:
A blue, underlined label. On "mouse over" change the view of the mouse cursor. On "click" open the system internet browser (e.g. Internet Explorer or Firefox) with a given link.
Something like this: http://www.cincomsmalltalk.com

In the last years VisualWorks pushed the internet support so much. There should be a GUI component for this. Any idea?

Best regards,
Tom Grünewald


________

Carl Zeiss Industrielle Messtechnik GmbH
Softwareentwicklung/Software Development

T o m G r ü n e w a l d

73446 Oberkochen, Germany
tel: +49.7364.20-8541
fax: +49.7364.20-4800
email: [hidden email]
http://www.zeiss.de/imt

Carl Zeiss Industrielle Messtechnik GmbH, Carl-Zeiss-Straße 22, 73447 Oberkochen
Aufsichtsratsvorsitzender: Dr. Dieter Kurz
Geschäftsführer: Dr. Rainer Ohnheiser, Felix Hoben, Hanspeter Mürle
Sitz der Gesellschaft: 73446 Oberkochen, Deutschland
Handelsregister: Amtsgericht Ulm, HRB 501561
USt-IdNr.: DE 811 515 346


----------------------------------------
This message is intended for a particular addressee only and may contain business or company secrets. If you have received this email in error, please contact the sender and delete the message immediately. Any use of this email, including saving, publishing, copying, replication or forwarding of the message or the contents is not permitted.

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

[vwnc] Antwort: Re: How to embed an internet link into a user inertface?

Gruenewald, Tom

Hello.
Thank you for your answer. Your solution works fine for an input field.

You've said 'standard text components'. Can I also add this ability to an simple text label?

| aWidget |
aWidget := self widgetAt: #LabelHttp.
aWidget label text: aWidget label text addHyperlinkEmphases.
aWidget invalidate.

The Link seems to get the hyperlink style, but is (of course?) not clickable.
Can I change this label behavior or do I have to use an input field?

Thank you again.,
Tom Grünewald

________

Carl Zeiss Industrielle Messtechnik GmbH
Softwareentwicklung/Software Development

T o m G r ü n e w a l d

73446 Oberkochen, Germany
tel: +49.7364.20-8541
fax: +49.7364.20-4800
email: [hidden email]
http://www.zeiss.de/imt

Carl Zeiss Industrielle Messtechnik GmbH, Carl-Zeiss-Straße 22, 73447 Oberkochen
Aufsichtsratsvorsitzender: Dr. Dieter Kurz
Geschäftsführer: Dr. Rainer Ohnheiser, Felix Hoben, Hanspeter Mürle
Sitz der Gesellschaft: 73446 Oberkochen, Deutschland
Handelsregister: Amtsgericht Ulm, HRB 501561
USt-IdNr.: DE 811 515 346


Inactive hide details for James Robertson <jrobertson@cincom.com>James Robertson <[hidden email]>



An


Kopie


Thema

Re: [vwnc] How to embed an internet link into a user inertface?

The standard text components of VW do that now when an url is recognized. Type one into a text widget, and then (either via an event, a button press, what have you), do this:

self myText value: self myText value styleEmbeddedHttps.



James Robertson
Cincom Smalltalk Product Evangelist
http://www.cincomsmalltalk.com/blog/blogView
Talk Small and Carry a Big Class Library




On Feb 18, 2009, at 9:14 AM, Gruenewald, Tom wrote:
      Hello.
      Is there an easy way to embed an internet link into a user interface?


      My short definition of an internet link:
      A blue, underlined label. On "mouse over" change the view of the mouse cursor. On "click" open the system internet browser (e.g. Internet Explorer or Firefox) with a given link.
      Something like this:
      http://www.cincomsmalltalk.com

      In the last years VisualWorks pushed the internet support so much. There should be a GUI component for this. Any idea?


      Best regards,
      Tom Grünewald

      ________

      Carl Zeiss Industrielle Messtechnik GmbH
      Softwareentwicklung/Software Development

      T o m G r ü n e w a l d

      73446 Oberkochen, Germany
      tel: +49.7364.20-8541
      fax: +49.7364.20-4800
      email:
      [hidden email]
      http://www.zeiss.de/imt

      Carl Zeiss Industrielle Messtechnik GmbH, Carl-Zeiss-Straße 22, 73447 Oberkochen
      Aufsichtsratsvorsitzender: Dr. Dieter Kurz
      Geschäftsführer: Dr. Rainer Ohnheiser, Felix Hoben, Hanspeter Mürle
      Sitz der Gesellschaft: 73446 Oberkochen, Deutschland
      Handelsregister: Amtsgericht Ulm, HRB 501561
      USt-IdNr.: DE 811 515 346


      ----------------------------------------
      This message is intended for a particular addressee only and may contain business or company secrets. If you have received this email in error, please contact the sender and delete the message immediately. Any use of this email, including saving, publishing, copying, replication or forwarding of the message or the contents is not permitted.

      _______________________________________________
      vwnc mailing list

      [hidden email]
      http://lists.cs.uiuc.edu/mailman/listinfo/vwnc

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc



----------------------------------------
This message is intended for a particular addressee only and may contain business or company secrets. If you have received this email in error, please contact the sender and delete the message immediately. Any use of this email, including saving, publishing, copying, replication or forwarding of the message or the contents is not permitted.


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc

pic29358.gif (1K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [vwnc] Antwort: Re: How to embed an internet link into a user inertface?

James Robertson-7
Input Fields and Text Widgets.  Of course, making a button act like a link is pretty simple - just have the action method open a browser on the desired destination

James Robertson
Cincom Smalltalk Product Evangelist
Talk Small and Carry a Big Class Library




On Feb 19, 2009, at 4:41 AM, Gruenewald, Tom wrote:

Hello.
Thank you for your answer. Your solution works fine for an input field.

You've said 'standard text components'. Can I also add this ability to an simple text label?

| aWidget |
aWidget := self widgetAt: #LabelHttp.
aWidget label text: aWidget label text addHyperlinkEmphases.
aWidget invalidate.

The Link seems to get the hyperlink style, but is (of course?) not clickable.
Can I change this label behavior or do I have to use an input field?

Thank you again.,
Tom Grünewald

________

Carl Zeiss Industrielle Messtechnik GmbH
Softwareentwicklung/Software Development

T o m G r ü n e w a l d

73446 Oberkochen, Germany
tel: +49.7364.20-8541
fax: +49.7364.20-4800
email: [hidden email]
http://www.zeiss.de/imt

Carl Zeiss Industrielle Messtechnik GmbH, Carl-Zeiss-Straße 22, 73447 Oberkochen
Aufsichtsratsvorsitzender: Dr. Dieter Kurz
Geschäftsführer: Dr. Rainer Ohnheiser, Felix Hoben, Hanspeter Mürle
Sitz der Gesellschaft: 73446 Oberkochen, Deutschland
Handelsregister: Amtsgericht Ulm, HRB 501561
USt-IdNr.: DE 811 515 346


<graycol.gif>James Robertson <[hidden email]>


<ecblank.gif>
An
<ecblank.gif>
<ecblank.gif>
Kopie
<ecblank.gif>
<ecblank.gif>
Thema
<ecblank.gif>
Re: [vwnc] How to embed an internet link into a user inertface?
<ecblank.gif><ecblank.gif>

The standard text components of VW do that now when an url is recognized. Type one into a text widget, and then (either via an event, a button press, what have you), do this:

self myText value: self myText value styleEmbeddedHttps.



James Robertson
Cincom Smalltalk Product Evangelist
http://www.cincomsmalltalk.com/blog/blogView
Talk Small and Carry a Big Class Library




On Feb 18, 2009, at 9:14 AM, Gruenewald, Tom wrote:

      Hello.
      Is there an easy way to embed an internet link into a user interface?


      My short definition of an internet link:
      A blue, underlined label. On "mouse over" change the view of the mouse cursor. On "click" open the system internet browser (e.g. Internet Explorer or Firefox) with a given link.
      Something like this:
      http://www.cincomsmalltalk.com

      In the last years VisualWorks pushed the internet support so much. There should be a GUI component for this. Any idea?


      Best regards,
      Tom Grünewald

      ________

      Carl Zeiss Industrielle Messtechnik GmbH
      Softwareentwicklung/Software Development

      T o m G r ü n e w a l d

      73446 Oberkochen, Germany
      tel: +49.7364.20-8541
      fax: +49.7364.20-4800
      email:
      [hidden email]
      http://www.zeiss.de/imt

      Carl Zeiss Industrielle Messtechnik GmbH, Carl-Zeiss-Straße 22, 73447 Oberkochen
      Aufsichtsratsvorsitzender: Dr. Dieter Kurz
      Geschäftsführer: Dr. Rainer Ohnheiser, Felix Hoben, Hanspeter Mürle
      Sitz der Gesellschaft: 73446 Oberkochen, Deutschland
      Handelsregister: Amtsgericht Ulm, HRB 501561
      USt-IdNr.: DE 811 515 346


      ----------------------------------------
      This message is intended for a particular addressee only and may contain business or company secrets. If you have received this email in error, please contact the sender and delete the message immediately. Any use of this email, including saving, publishing, copying, replication or forwarding of the message or the contents is not permitted.

      _______________________________________________
      vwnc mailing list

      [hidden email]
      http://lists.cs.uiuc.edu/mailman/listinfo/vwnc

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc



----------------------------------------
This message is intended for a particular addressee only and may contain business or company secrets. If you have received this email in error, please contact the sender and delete the message immediately. Any use of this email, including saving, publishing, copying, replication or forwarding of the message or the contents is not permitted.



_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc

pic29358.gif (1K) Download Attachment