Show: Delphi C++
Display Preferences

FMX.Types.TEffect

From XE3 API Documentation
Jump to: navigation, search

FMX.Types.TFmxObjectSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObject
TEffect

Delphi

TEffect = class(TFmxObject)

C++

class PASCALIMPLEMENTATION TEffect : public TFmxObject

Properties

Type Visibility Source Unit Parent
class public
FMX.Types.pas
FMX.Types.hpp
FMX.Types FMX.Types

Description

Base class for most of the FireMonkey graphic effects classes.

Most of the classes in FMX.Effects are descendants (either direct or indirect) of TEffect.

FMX.Filter.Effects.TImageFXEffect, a descendant of TEffect, is the base class for some of the filter effects in FMX.Filter.Effects.

TEffect descendants are nonvisual components that can be found in the Effects category on the Tool Palette. You can apply an effect to any FireMonkey visual component. To use a descendant of TEffect at design time, make sure that the effect is a child of the component; for example, a button on a form. To add an effect, drop an effect component from the Tool Palette onto the form, and then, in the Structure View, move the effect component so that it is a child of the button control in the hierarchy.

To set an action that will trigger the effect when applied to the visual component, use the Trigger property in the Object Inspector. Each of the TEffect subclasses have additional specific properties to configure.

Tip:: In FireMonkey, nonvisual components are not visible at design time, but they can be seen in the Structure View.

See Also

Personal tools
Translations