FMX.Controls.TControl.InheritedCursor

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property InheritedCursor: TCursor read GetInheritedCursor default crDefault;

C++

__property System::Uitypes::TCursor InheritedCursor = {read=GetInheritedCursor, default=0};

Properties

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

Description

Image used to represent the mouse pointer when it passes into the region covered by the control.

The value of the read-only InheritedCursor property is the value of the Cursor property unless Cursor has the default value, in which case InheritedCursor contains the first non-default InheritedCursor value of its ancestors (parent, grand-parent, and so on until the parent form). If every ancestor of this control has InheritedCursor set to the default value, InheritedCursor has the default value in this control as well.

Changing the value of Cursor in this control or in any ancestor of this control may affect the value of InheritedCursor in this control.

See Also