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.

Cursor property

Project: Hot Label Component.

Unit: PJHotLabel.

Class: TPJHotLabel

Applies to: ~>2.0

property Cursor: TCursor;

Description

Cursor specifies the image used to represent the mouse pointer when it passes into the region covered by the control.

Change the value of Cursor to provide feedback to the user about what action is appropriate when the mouse pointer enters the control.

The value of Cursor is the index of the cursor in the list of cursors maintained by the global variable, Screen. In addition to the built-in cursors provided by TScreen, applications can add custom cursors to the list. See the inherited Cursor property of TControl for further details.

The Cursor property of TPJHotLabel differs from the inherited property in that its default cursor is crHandPoint rather than crDefault.

Note: Earlier versions of the component used a custom cursor named crHand. For backward compatibility this constant is defined in the PJHotLabel unit to have the same value as crHandPoint.