TBaseVirtualTree.Animate Method

Virtual Tree View

Support method for animated actions in the tree view.

Pascal
procedure Animate(Steps: Cardinal; Duration: Cardinal; Callback: TVTAnimationCallback; Data: Pointer); virtual;
Description

This method is a general purpose helper to do an animation and is used for hint fading, animated node toggling etc. The method automatically takes care that the animation is done within the specified time interval. For each step in the animation loop the provided callback is called which gets Data passed as parameter.

Class
Links
What do you think about this topic? Send feedback!