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






Gets or sets the value which indicates if the CommandItem is animated.

Syntax

Visual Basic (Declaration) 
Public Property Animate As Boolean
Visual Basic (Usage)Copy Code
Dim instance As CommandItem
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

System.Boolean value, this property determines if the CommandItem is animated. If the property is true then the CommandItem is animated; otherwise it is false and the CommandIem is not animated. The default value is true.

Remarks

If Animate is true then when the state of a CommandItem changes the foreground and background colours fade from their current values to the new ones. When a CommandItem becomes hot the Image expands slightly and for a CommandButton the depression is also animated by drawing the CommandButton being pushed down into the Form. When Animated is false the Image does not expand, colour changes are instantaneous as is the depression of the CommandButton.

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