FMX.Controls.TControl.Cursor

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Cursor: TCursor read GetCursor write SetCursor default crDefault;

C++

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

Properties

Type Visibility Source Unit Parent
property public
FMX.Controls.pas
FMX.Controls.hpp
FMX.Controls TControl

Description

Image to use 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. For a list of cursor constants, see System.UITypes Constants. The image representations of the cursor depend on the theme active on the current platform.

If Cursor is set to the default cursor, this control might display a different cursor when the mouse pointer is over it. The actual cursor that this control displays is the cursor defined in InheritedCursor, a read-only property that is calculated based not only in the value of Cursor in this control, but also the value of Cursor in any ancestor of this control (parent, grand-parent, and so on until the parent form).

See Also