AnimateWindowDirection Property (TDBCombo)
object.AnimateWindowDirection= value
Read/Write at run time and design time.
Property applies to TDBList and TDBCombo controls.
Values
Design Time |
Run Time |
0 - Default |
dblDefaultDirection |
1 - Top To Bottom |
dblTopToBottom |
2 - Bottom To Top |
dblBottomToTop |
3 - Left To Right |
dblLeftToRight |
4 - Right To Left |
dblRightToLeft |
5 - Top Left To Bottom Right |
dblTopLeftToBottomRight |
6 - Top Right To Bottom Left |
dblTopRightToBottomLeft |
7 - Bottom Left To Right |
dblBottomLeftToTopRight |
8 - Bottom Right To Top Left |
dblBottomRightToTopLeft |
9 - Center |
dblAnimateCenter |
For a TDBCombo control, this property controls the direction of the animation of the combo drop-down list. It is only meaningful when the ComboStyle property is set to 0 - Dropdown Combo or 1 - Simple Combo, and the AnimateWindow property is set to a value other than 0 - No Animation.
For a TDBCombo or TDBList control, 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 animation.
Use the AnimateWindowClose property for additional control over the behavior of the animation when the object is 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 TDBCombo is too close to the bottom of the screen to display the entire drop-down list when opened by the user, the window will open upwards.
All of the remaining directional settings are under your complete control.
Note: System requirements: Windows 98 or NT 5.0, or higher.
See Also