Overview
TheTTreeAnimate component provides a comprehensive animation framework for TeeTree. It enables smooth transitions and dynamic effects on tree nodes, including movement, color changes, size adjustments, and text effects.
Components
TTreeAnimate
Main animation controller component.TNodeAnimation
Base class for all node-based animations.Animation Types
Integer Animations
TFontSizeAnimation
Animates node font size.TMovementAnimation
Animates node position.TSizeAnimation
Animates node size (width or height).TTransparencyAnimation
Animates node transparency (0-100).TTextTranspAnimation
Animates text transparency.Color Animations
TNodeColorAnimation
Animates node colors.TTreeColorAnimation
Animates tree panel colors.TTextColorAnimation
Animates node text color.Text Animations
TAddTextAnimation
Animates text appearing character by character.TMoveTextAnimation
Animates text scrolling within the node.TTextAngleAnimation
Animates text rotation angle.TTextFlashAnimation
Animates text flashing effect by changing size.Special Animations
TVisibleAnimation
Animates node visibility.TNodeZoomAnimation
Animates node zoom effect.Usage Examples
Basic Setup
Font Size Animation
Movement Animation
Color Fade Animation
Transparency Animation
Text Typing Effect
Text Flash Effect
Zoom Effect
Text Rotation
Visibility Toggle
Multiple Animations
Tree Background Animation
Size Animation
Border Color Animation
Gradient Animation
Animation Control
Play Animation
Stop Animation
Preview Animation
Check if Enabled
Common Properties
All animations inherit fromTTeeAnimation and support:
Enabled- Enable/disable animationSpeed- Animation speed (inherited from TTreeAnimate)OnStart- Event fired when animation startsOnStop- Event fired when animation stopsOnAnimate- Event fired on each animation frame
Direction Constants
Color Type Constants
Related Components
- TCustomTree - Tree component
- TTreeNodeShape - Node shapes
