FMX.Controls.TPopup.AniDuration
Delphi
property AniDuration: Single read FAniDuration write SetAniDuration;
C++
__property float AniDuration = {read=FAniDuration, write=SetAniDuration};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | FMX.Controls.pas FMX.Controls.hpp |
FMX.Controls | TPopup |
Description
Sets the animation duration during appearing or closing of the pop-up window.
AniDuration defines time (in seconds) of a custom animation execution. The OnAniTimer event is periodically triggered during the AniDuration time after the pop-up window starts appearing or closing. During the AniDuration time, the AniPosition property changes from 0 to 1 (during opening) and from 1 to 0 (during closing) respectively. The OnAniTimer event handler contains the code that is performed during animation.
- Note: AniDuration does not influence on a duration of an external animation (for example TFloatAnimation animation) if such is assigned to the TPopup pop-up window.