Naturalmente, es una buena opción aplicando la API de Windows. No obstante, hay un autor que ha desarrollado un componente que permite realizar esta función de una manera interesante. A continuación les presento la info del autor y si tienen dificultad para obtener el código en el sitio que ellos precisan en la info me pueden escribir a mi dirección de correo electrónico y se las puedo enviar.
JLabelURL.PAS 1.00
Copyright (c) JAPOS, 1990-2000
All rights reserved.
FREE
URL: www.japos.com
E-mail: japos@japos.com
D1,D2,D3,D4,D5
Component TJLabelURL is deduced from component TLabel.
Component edits some properties of original object and adds new properties. By means of this component you'll reach what you have to complicatedly create from many other components. This component is designed to work just like a hyperlink on any WEB-page or E-mail. If you write link on any WWW-page or E-MAIL to property Caption the component change cursor by itself. The RES file includes two new cursors - for WWW and for E-MAIL. If in property Caption is char @ then cursor is changed to E-MAIL cursor and in other cases cursor is changed to WWW cursor.
Following properties has been added
JClickColor - when mouse is pressed on Label then Font
color is changed to JClickColor
Here is demo program for this component:
http://www.japos.com/_private/jstandard_demo.exe
Mi correo es marioestevez@infomed.sld.cu
|