Vcl.ComCtrls.TAnimate.OnOpen

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnOpen: TNotifyEvent read FOnOpen write FOnOpen;

C++

__property System::Classes::TNotifyEvent OnOpen = {read=FOnOpen, write=FOnOpen};

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 opened.

Write an OnOpen event handler to take specific action when the Open property changes from false to true. This is a good opportunity to set the Repetitions, StartFrame, and StopFrame properties before the AVI clip is activated, or to seek to a particular frame.

OnOpen is an event handler of type TNotifyEvent.

See Also