FMX.Switch.Style.TStyledSwitch.DoMouseLeave
Delphi
procedure DoMouseLeave; override;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure | protected | FMX.Switch.Style.pas | FMX.Switch.Style | TStyledSwitch |
Description
OnMouseLeave event dispatcher.
FMX.Switch.Style.TStyledSwitch.DoMouseLeave inherits from FMX.Controls.TControl.DoMouseLeave. All content below this line refers to FMX.Controls.TControl.DoMouseLeave.
OnMouseLeave event dispatcher.
DoMouseLeave is called automatically when the mouse pointer leaves the control's area.
DoMouseLeave starts the animation by calling StartTriggerAnimation and applies effects by calling ApplyTriggerEffect to background the control.
Override the protected DoMouseLeave method to provide other responses when the mouse pointer leaves the control's area.