RAD Studio VCL Reference
TAnimate.OnClose Event

Occurs immediately after the animation control is closed.

property OnClose: TNotifyEvent;
__property TNotifyEvent OnClose;

Write an OnClose event handler to take specific action when the Open property is set to false. For example, if the animation control is used to cycle through a series of AVI clips, the clip could be changed in an OnClose event handler. 

To respond when the clip stops playing, but the animation control remains open, use the OnStop event. 


Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!