FMX.StdActns.TCustomValueRange.Changed
Delphi
procedure Changed(const IgnoreLoading: boolean = false);
C++
void __fastcall Changed(const bool IgnoreLoading = false);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | FMX.StdActns.pas FMX.StdActns.hpp |
FMX.StdActns | TCustomValueRange |
Description
Recalculates values of properties, fires proper events, and sets IsChanged to False.
Changed is called immediately after the value of any property (Value, Min, Max, ViewportSize, and Frequency) of the current object has been changed. It recalculates values, raises the proper events (if needed), and sets IsChanged to False. If the Owner component of the action is loading (csLoading
) or UpdateCount > 0
, then no operations are performed and IsChanged is set to True. After loading the Owner component is finished, the component should check the IsChanged property's value and call the Changed method (if needed).
If IgnoreLoading = True
, then Changed does not check the loading state (csLoading
).