FILENAME:	UrlLabel.zip

CATEGORY:	misc/Internet

VERSION:	1.5 (March 19, 1997)

TARGET:		Delphi 2.0 only

AUTHOR:		Copyright (C) 1996-1997, Ahto Tanner, Moon Software

CONTACT:	ahto@estpak.ee
		(please specify "TUrlLabel" in the subject string)
		http://www.estpak.ee/~ahto/moon/index.html     

STATUS:		FREEWARE (source included): you can freely use or distribute files 
		included to this archive.

DESCRIPTION:	It's just ordinary label, but you can run URL-s and files by clicking
		on it. For example you include your products home page URL in about box,
		but now enduser can quickly access to the page by only clicking the label
		and system default browser is opened...
		On mouse move over this label, pointer is changed to "pointing hand",
		similar to links in WWW browsers.
		Added only property URL. If this is empty, string for running is
		taken from caption. This means when your label's caption is set to
		"http://www.windows95.com" and property "URL" is empty, caption string
		will be run. "URL" is searched first and if it is empty, then caption
		goes...
		"Why this "URL" at all?" you ask. Suppose you want to send mail to
		ahto@estpak.ee. Then you write this address to caption, but you must
		write "mailto:ahto@estpak.ee" to "URL". It is useful also for running
		other documents:
		Caption := 'Click here to run notepad' and URL :='notepad.exe'

		NOTE!!! Seems that internet shortcuts mailto, http, ftp etc. are added
		to the registry ONLY by Internet Explorer, so you (or your clients)
		cannot use them with Netscape. This means that mailto: is NOT working with
		Netscape Navigator by UrlLabel. The best way is use that component only
		for WWW URL-s and write THE WHOLE URL to URL property, i.e.

		UrlLabel1.URL := 'http://www.estpak.ee/~ahto/index.html'
		                                            ^^^^^^^^^^^
		This quarantees, that browser associated with .html extension will run
		and works with any browser (if installed in system of cource :).


TESTING:	You can test it without installing component. Simply open sample project 
		and components are created dynamically on the fly.


HISTORY:

  Version 1.5, March 19, 1997
   - Well, I and you all are blind enough or you just trust me too much?
     Over 5 months of using I noticed that popup menu created on
     startup never freed. Now it is :)
   - Application.Handle in ShellExecute replaced with GetDesktopWindow(),
     since it's probably better for launching new apps.

  Version 1.4, Nov 28, 1996
   - Added ActiveColor property. Caption changes it's color to
     the ActiveColor while mouse button is down (while clicked) like
     in some web browsers. If you don't want to change color, assign
     the same color to it as normal caption font color.
   - Initially caption is blue and underlined now.

  Version 1.3, Oct 20, 1996
   - added "Copy" popup menu

  Versions 1.1, 1.2
   - nothing special ;-)

  Version 1.0, June 21, 1996
   - initial release

------------------------------------------------------------------------

Legal stuff
===========
These components are supplied with no guarantees of any kind and must be used at
your own risk.


If you have any comments and ideas, I'll be pleased to read :)


Smile & peace...


