Skip to content

Latest commit

 

History

History
23 lines (13 loc) · 1.18 KB

TPJHotLabel-CaptionIsURL.md

File metadata and controls

23 lines (13 loc) · 1.18 KB

CaptionIsURL property

Project: Hot Label Component.

Unit: PJHotLabel.

Class: TPJHotLabel

Applies to: ~>2.0

property CaptionIsURL: Boolean;

Description

The CaptionIsURL property is used to determine whether the Caption property displays the URL assigned to the URL property or whether it can display descriptive text.

Set CaptionIsURL to True to link the Caption property to the URL property - so that assigning one property also assigns the other. This makes it easy to display a URL in the label without assigning two properties with the same value.

Setting CaptionIsURL to False enables any text to be assigned to the Caption property. This permits descriptive text to be displayed in the label that accesses the separately stored URL when the label is clicked. Tip: to give the user visual feedback of the actual URL when the mouse hovers over the label set the HintStyle property to hsURL.

The default value of CaptionIsURL is True.