Vcl.Controls.TControl.Cursor

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Cursor: TCursor read FCursor write SetCursor default crDefault;

C++

__property System::Uitypes::TCursor Cursor = {read=FCursor, write=SetCursor, default=0};

Properties

Type Visibility Source Unit Parent
property published
Vcl.Controls.pas
Vcl.Controls.hpp
Vcl.Controls TControl

Description

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 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 Also

Code Examples