Object Reference > True DBGrid Properties > AnimateWindowDirection Property |
AnimateWindowDirection Property
For a TDBGrid control, this property controls the direction of the animation of the drop-down combo (either a built-in combo box or a separate TDBDropDown control).
TDBGrid.AnimateWindowDirection= value
Values
Design Time |
Run Time |
0 - Default |
dbgDefaultDirection |
1 - Top To Bottom |
dbgTopToBottom |
2 - Bottom To Top |
dbgBottomToTop |
3 - Left To Right |
dbgLeftToRight |
4 - Right To Left |
dbgRightToLeft |
5 - Top Left To Bottom Right |
dbgTopLeftToBottomRight |
6 - Top Right To Bottom Left |
dbgTopRightToBottomLeft |
7 - Bottom Left To Right |
dbgBottomLeftToTopRight |
8 - Bottom Right To Top Left |
dbgBottomRightToTopLeft |
9 - Center |
dbgAnimateCenter |
Read/Write at run time and design time.
This property also controls the animation effects of the CellTips window when the AnimateWindow property has been set to a value other than 0 - No animate.
Use the AnimateWindowClose property for additional control over the behavior of the animation while the object is being closed. Use the AnimateWindowTime property to control the duration of the animation effect.
If set to 0 - Default, the direction of the animation depends on the location of the object. For example, if the control is too close to the bottom of the screen to display the entire drop-down combo or cell tips window when opened by the user, the object will open upwards. The default value for the cell tips window is 1 - Top To Bottom.
All of the remaining directional settings are under your complete control.
Note
System requirements: Windows 98 or NT 5.0, or higher.