ICreate.Controls.Bars Send comments on this topic.
Animate Property
See Also 
ICreate.Controls.Bars Namespace > Bar Class : Animate Property






Gets or sets if changes to the appearance of the Bar's graphics items are animated or not.

Syntax

Visual Basic (Declaration) 
Public Property Animate As Boolean
Visual Basic (Usage)Copy Code
Dim instance As Bar
Dim value As Boolean
 
instance.Animate = value
 
value = instance.Animate
C# 
public bool Animate {get; set;}
Delphi 
public read-write property Animate: Boolean; 
JScript 
public function get,set Animate : boolean
Managed Extensions for C++ 
public: __property bool get_Animate();
public: __property void set_Animate( 
   bool value
);
C++/CLI 
public:
property bool Animate {
   bool get();
   void set (bool value);
}

Return Value

A System.Boolean value, this property determines if the changes in appearance of the graphics items associated with the Bar are animated or not. If true then the changes in appearance are animated, otherwise false and the changes are not animated. The default value is false.

Remarks

The colour of the background and foreground of the control surfaces of a Bar change, when the mouse passes over them, when depressed, or when checked etc. If Animate is false then these changes in colour are abrupt. If Animate is true then the change in colour is a smooth transition from the old colour to the new colour. Some control surfaces also display an image. This image may expand when the mouse cursor is located over the control surface. The value of the Animate property also determines if the expansion is abrupt or a smooth increase in size.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also