RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Menus.TMenuAnimation Type

TMenuAnimation and TMenuAnimations indicate how a popup menu appears on screen.

Pascal
TMenuAnimation = set of TMenuAnimations;
C++
TMenuAnimations TMenuAnimation;

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 popup menu that slides in at a diagonal). Note that some TMenuAnimations values are mutually exclusive (for example maLeftToRight and maRightToLeft).

Value 
Meaning 
maLeftToRight  
The popup menu appears like a window shade that pulls from left to right.  
maRightToLeft  
The popup menu appears like a window shade that pulls from right to left.  
maTopToBottom  
The popup menu appears like a window shade that pulls from top to bottom.  
maBottomToTop  
The popup menu appears like a window shade that pulls from bottom to top.  
maNone  
The popup menu appears as a whole with no animation effects.  

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!