AnimateWindowClose Property (TDBCombo)
object.AnimateWindowClose= value
Read/Write at run time and design time.
Property applies to TDBList and TDBCombo controls.
Values
Design Time |
Run Time |
0 - No Animate Close (default) |
dblNoAnimateClose |
1 - Opposite Direction |
dblOppositeDirection |
2 - Same Direction |
dblSameDirection |
For a TDBCombo control, this property controls the animation effect when the user closes the 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.
The allowable values for this property are as follows:
If set to 0 - No Animation (the default), there will be no animation when the object is closed.
If set to 1 - Opposite Direction, the animation of the object occurs in the opposite direction of that specified by the AnimateWindowDirection property.
If set to 2 - Same Direction, the animation of the closing object occurs in the same direction as that specified by the AnimateWindowDirection property.
Use the AnimateWindowTime property to control the duration of the object's closing animation.
Note: System requirements: Windows 98 or NT 5.0, or higher.
See Also