Vcl.Menus.TMenuAnimation
Delphi
type TMenuAnimation = set of TMenuAnimations;
C++
typedef System::Set<TMenuAnimations, TMenuAnimations::maLeftToRight, TMenuAnimations::maNone> TMenuAnimation;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
set typedef |
public | Vcl.Menus.pas Vcl.Menus.hpp |
Vcl.Menus | Vcl.Menus |
Description
TMenuAnimation and TMenuAnimations indicate how a pop-up menu appears on screen.
TMenuAnimations indicates the direction in which a menu can "slide" into view. TMenuAnimation is a set of TMenuAnimations values, which can be used to specify more than one direction (for a pop-up menu that slides in at a diagonal direction). Note that some TMenuAnimations values are mutually exclusive (for example maLeftToRight and maRightToLeft).
Value | Meaning |
---|---|
maLeftToRight |
The pop-up menu appears like a window shade that pulls from left to right. |
maRightToLeft |
The pop-up menu appears like a window shade that pulls from right to left. |
maTopToBottom |
The pop-up menu appears like a window shade that pulls from top to bottom. |
maBottomToTop |
The pop-up menu appears like a window shade that pulls from bottom to top. |
maNone |
The pop-up menu appears as a whole with no animation effects. |