Is there any property or method can set the animation speed ?

1 reply. Last post: October 2, 2011 9:28 PM by Yudi
Tags :
xu guochunMember

Hi!

  I Have a Problem about WebDialogBox, I Want to See The WebDialogBox Open Immediately,but Now,It Have Flight animation,I want to know Is there any property or method  can set  the animation speed or  cancel the  animation ?

 

Answers

Yudi Member

WebDialogBox has EnableAnimation and AnimationStyle property. The EnableAnimation specifies whether animation is supported for this dialog box instance. The AnimationStyle property specifies the animation style applied to the window.

In order to have WebDialogBox open immediately without animation, please try to disable the EnableAnimation.

WebDialogBox1.EnableAnimation = false;

Hope this helps.

All Replies

Yudi Member

WebDialogBox has EnableAnimation and AnimationStyle property. The EnableAnimation specifies whether animation is supported for this dialog box instance. The AnimationStyle property specifies the animation style applied to the window.

In order to have WebDialogBox open immediately without animation, please try to disable the EnableAnimation.

WebDialogBox1.EnableAnimation = false;

Hope this helps.

All times are GMT -5. The time now is 7:56 PM.
Previous Next