An easy way to add animations to stands is to add them while editing the stand in the Style Designer and follow the TFrameStand naming convention:
- All animations with a name starting with OnShow will be automatically fired by TFrameStand when the FrameStand is shown to the user.
- Symmetrically, all animations with a name starting with OnHide will be fired at the hiding of the FrameStand.
This applies to all animations—those contained in the Stand definition as well as those contained in the Frame definition—at whatever nesting level.
You can have multiple animations for both events (show/hide) and they will all be fired simultaneously (according to the corresponding event...