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.

HintStyle property

Project: Hot Label Component.

Unit: PJHotLabel.

Class: TPJHotLabel

Applies to: ~>2.0

type
  TPJHLHintStyle = (hsNormal, hsURL, hsCustom);

property HintStyle: TPJHLHintStyle;

Description

The HintStyle property determines how the text displayed in the component’s pop-up hint is derived. There are three possible sources of the hint text:

Style Notes
hsNormal The pop-up hint displays as normal - i.e. the hint’s text is taken from the Hint property.
hsURL The pop-up hint displays the URL property value. The Hint property is ignored.
hsCustom The user can specify a custom hint by handling the OnCustomHint event. See the OnCustomHint topic for details of how the hint is set in the event handler. If the OnCustomHint event is not handled then the hint’s text comes from the Hint property as normal.

Note that no pop-up hint will display unless hints are enabled. This is done by ensuring the inherited ShowHint property is True.

The default value of HintStyle is hsNormal.