Skip to content

Latest commit

 

History

History
23 lines (13 loc) · 1.02 KB

TPJHotLabel-HighlightFont.md

File metadata and controls

23 lines (13 loc) · 1.02 KB

HighlightFont property

Project: Hot Label Component.

Unit: PJHotLabel.

Class: TPJHotLabel

Applies to: ~>2.0

property HighlightFont: TFont;

Description

This property controls the appearance of the label when the mouse passes over it.

A TPJHotLabel can highlight its text when the mouse passes over the control. The font that is used to highlight the text is determined by the HighlightFont property. The property defaults to the same font as the Font property but with the colour changed to clRed.

Note that the highlighting only takes place when the HighlightURL property is True.

It is recommended that only the colour and certain styles of the font are altered and the font size and name remain unchanged so that the label does not grow and shrink when the cursor passes over it. See the highlighting example for details of two suitable designs.