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

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

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

Steven Kelly

If labels don’t support hyperlinks (their controller probably doesn’t receive clicks), maybe you could try using an input field set to read only and with no border, transparent colors etc. The I-beam text cursor might show up, but it’s maybe not the end of the world.

 

Steve

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Gruenewald, Tom
Sent: 19 February 2009 11:41
To: VW NC
Subject: [vwnc] Antwort: Re: How to embed an internet link into a userinertface?

 

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]>

James Robertson <[hidden email]>
Gesendet von: [hidden email]

18.02.2009 16:16

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
Reply | Threaded
Open this post in threaded view
|

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

Gruenewald, Tom

Thank you for your support.

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

Inactive hide details for "Steven Kelly" <stevek@metacase.com>"Steven Kelly" <[hidden email]>



An

"VW NC" <[hidden email]>

Kopie


Thema

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

If labels don’t support hyperlinks (their controller probably doesn’t receive clicks), maybe you could try using an input field set to read only and with no border, transparent colors etc. The I-beam text cursor might show up, but it’s maybe not the end of the world.

Steve

From: [hidden email] [[hidden email]] On Behalf Of Gruenewald, Tom
Sent:
19 February 2009 11:41
To:
VW NC
Subject:
[vwnc] Antwort: Re: How to embed an internet link into a userinertface?

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]>

James Robertson <[hidden email]>
Gesendet von: [hidden email]

18.02.2009 16:16

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



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


pic27644.gif (1K) Download Attachment