Vcl.ComCtrls.TAnimate.OnClose

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnClose: TNotifyEvent read FOnClose write FOnClose;

C++

__property System::Classes::TNotifyEvent OnClose = {read=FOnClose, write=FOnClose};

Properties

Type Visibility Source Unit Parent
event published
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TAnimate

Description

Occurs immediately after the animation control is closed.

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.

OnClose is an event handler of type TNotifyEvent.

See Also