FMX.Controls.TControl.DoMouseEnter

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure DoMouseEnter; virtual;

C++

virtual void __fastcall DoMouseEnter(void);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
FMX.Controls.pas
FMX.Controls.hpp
FMX.Controls TControl

Description

OnMouseEnter event dispatcher.

DoMouseEnter is called automatically when the mouse pointer enters the control's area.

DoMouseEnter starts the animation by calling StartTriggerAnimation and applies effects by calling ApplyTriggerEffect to highlight the control.

Override the protected DoMouseEnter method to provide other responses when the mouse pointer enters the control's area.

See Also