Welcome to the new DelphiDabbler Code Library Documentation.

This is a new site that's currently running on alpha code. There are going to be bugs. If you discover any, please report them on the site's issues page (GitHub account required). Thanks.

Warning: Many URLs are going to change. Refer to the README file to discover which library project's documentation has been completed.

URL property

Project: Hot Label Component.

Unit: PJHotLabel.

Class: TPJHotLabel

Applies to: ~>2.0

property URL: string;


This property stores the URL that is to be accessed when the label is clicked. The default web browser or mail client are used to display the URL.

If the ValidateURL property is True then any value assigned to the URL property must be valid otherwise a EPJURLError exception will be raised.

When the CaptionIsURL property is True then the value assigned to the URL property is also assigned to the Caption property and displayed in the label. This makes it easy to display the URL in the label by assigning just one property.

The URL can be displayed in the component’s Hint property by setting the HintStyle property to hsURL.

The default value of this property is either http://localhost [2.0 to ~>2.1.0] or http://example.com/ [~>2.2].