Show: Object Pascal C++
Display Preferences

FMX.Controls.TControl.ApplyTriggerEffect

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

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

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.pas
FMX.Controls.hpp
FMX.Controls TControl

Description

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

Personal tools
Translations