Vcl.Forms.TScreen.Cursor

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Cursor: TCursor read FCursor write SetCursor;

C++

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

Properties

Type Visibility Source Unit Parent
property public
Vcl.Forms.pas
Vcl.Forms.hpp
Vcl.Forms TScreen

Description

Controls the mouse cursor image on a global level.

Set Cursor to override the cursor image associated with individual control objects. When Cursor is crDefault, the individual objects determine the cursor image. Assigning any other value sets the mouse cursor image for all windows belonging to the application. The global mouse cursor image remains in effect until the screen's Cursor property is changed back to crDefault.

Cursor can be set to any of the cursor values available in the Cursors property. This can be one of the built-in cursor values, or a custom cursor that has been added to the Cursors property.

See Also

Code Examples