ComponentOne True DBGrid Pro 8
AnimateWindow Property

AnimateWindow Property

Controls the object's animation style.

Syntax

TDBGrid.AnimateWindow= value

Values

Design Time

Run Time

0 - No Animate (default)

dbgNoAnimate

1 - Roll

dbgRoll

2 - Slide

dbgSlide

3 - Blend

dbgBlend

Remarks

Read/Write at run time and design time.

For a TDBGrid control, this property controls the style of animation when the user opens or closes the drop-down combo (either a built-in combo box or a separate TDBDropDown 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 AnimateWindowTime property to control the duration of the animation, the AnimateWindowDirection property to control the direction of the animation effect, and the AnimateWindowClose property for additional control over the behavior of the animation when closing the object.

The allowable values for this property are as follows:

If set to 0 - No animate (the default), there will be no animation effect.

If set to 1 - Roll, the object will paint up or down (depending on the AnimateWindowDirection property setting) from the first line.

If set to 2 - Slide, the object will open with an action like a window shade.

If set to 3 - Blend, the object will open and close by fading in and out. This value is to be used in NT 5.0 only. When the AnimateWindow property is set to 3 - Blend in Windows 98, the data in the drop-down or built-in combo box will not be displayed correctly, if at all.

Note

System requirements: Windows 98 or NT 5.0, or higher. The setting 3 - Blend is not available in Windows 98.

See Window Animation for more information.

See Also

TDBGrid Control

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback