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.

Visited property

Project: Hot Label Component.

Unit: PJHotLabel.

Class: TPJHotLabel

Applies to: ~>2.2

property Visited: Boolean;

Description

This property indicates whether the label is in its “visited” state (True) or not (False). When Visited is True the label is displayed using the font specified by the VisitedFont [~>2.2], whenever the label is not highlighted. When the property is False the display font reverts to that given by the Font property.

Writing the property changes the “visited” state. The default value is False.

The property can also be set automatically each time the component’s URL is navigated to. This feature is enabled by setting the TrackVisits [~>2.2] property to True.

Note that, unlike in a browser, the value of Visited does not persist between program executions.

† The component deems a URL to be “navigated to” if the label is clicked and the component was able to resolve the URL and execute it in a linked application such and a web browser. This is not a guarantee that the URL exists, only that the linked application could be started.