FMX.Switch.Style.TStyledSwitch.DoMouseEnter
Delphi
procedure DoMouseEnter; override;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure | protected | FMX.Switch.Style.pas | FMX.Switch.Style | TStyledSwitch |
Description
OnMouseEnter event dispatcher.
FMX.Switch.Style.TStyledSwitch.DoMouseEnter inherits from FMX.Controls.TControl.DoMouseEnter. All content below this line refers to FMX.Controls.TControl.DoMouseEnter.
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.