FMX.StdActns

From Appmethod Libraries
Jump to: navigation, search

Provides the standard action classes that are available in FireMonkey, including TVirtualKeyboard, TFileExit, and TWindowClose. Also see FireMonkey Actions.

Creating new standard actions, the programmer should, if this is possible, place the code of these standard actions into this unit (into the FMX.StdActns.pas file).

To show new created standard actions in the IDE's Action List editor (see the image) you should register these standard actions calling to the System.Actions.RegisterActions method.

Standard Action Classes dialog box

If you need that the Action List editor provides the default properties to a new standard action, insert a field to store an object of this standard action type into the TStandardActions class in the FMX.ActnRes unit. Template:UnitInfo

Classes

IValueRangeThis interface declares methods for setting and getting the ValueRange property.
TBaseValueRangeThis class associates a floating-point number Value with methods and properties used for handling Value between the values specified by Min and Max.
TCustomValueRangeExtends the TBaseValueRange class providing methods and properties used to control the correctness of the Value handling within its Min to Max range.
TCustomValueRangeActionThe base class for actions (without published properties) that can be used by controls having ValueRange-type properties.
TCustomValueRangeClassDefines the metaclass for TCustomValueRange.
TFileExit
TFileHideApp
TFileHideAppOthers
THintAction
TObjectViewAction
TSysCommonAction
TValueRangeExtends the TCustomValueRange class declaring Value, Min, Max, and some other properties to be published.
TValueRangeActionClass that can be used by controls having ValueRange-type properties.
TValueRangeActionLinkClass responsible for the communication between an action of type TValueRangeAction and a control that implements the IValueRange interface.
TViewAction
TVirtualKeyboardRepresents the on-screen keyboard.
TWindowClose

Types

_di_IValueRange

Constants

DefaultMaxValueDefaultMaxValue: Comp = 100;