Vcl.Menus.TMenuAnimations

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TMenuAnimations = (maLeftToRight, maRightToLeft, maTopToBottom, maBottomToTop, maNone);

C++

enum DECLSPEC_DENUM TMenuAnimations : unsigned char { maLeftToRight, maRightToLeft, maTopToBottom, maBottomToTop, maNone };

Properties

Type Visibility Source Unit Parent
enum 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.


See Also