RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TAnimate.OnClose Event

Occurs immediately after the animation control is closed.

Pascal
property OnClose: TNotifyEvent;
C++
__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) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!