FMX.Controls.Presentation.TPresentedControl.ApplyTriggerEffect

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure ApplyTriggerEffect(const AInstance: TFmxObject; const ATrigger: string); override;

C++

virtual void __fastcall ApplyTriggerEffect(Fmx::Types::TFmxObject* const AInstance, const System::UnicodeString ATrigger);

Properties

Type Visibility Source Unit Parent
procedure
function
public
FMX.Controls.Presentation.pas
FMX.Controls.Presentation.hpp
FMX.Controls.Presentation TPresentedControl

Description

Applies the specified mouse trigger effect to all the children of this FMX object that are of type TEffect.

FMX.Controls.Presentation.TPresentedControl.ApplyTriggerEffect inherits from FMX.Controls.TControl.ApplyTriggerEffect. All content below this line refers to FMX.Controls.TControl.ApplyTriggerEffect.

Applies the specified mouse trigger effect to all the children of this FMX object that are of type TEffect.

ApplyTriggerEffect iterates through all the children of this FMX object and, if one of them is of type TEffect, applies the mouse trigger given through the ATrigger parameter (which can be 'IsMouseOver', 'IsMouseOver', 'IsDragOver', and so on).

AInstance specifies the instance of the FMX object to which the trigger effect is applied.

See Also