Class TAVIControl (unit AVICtrl)

Inherits from

TWinControl

Constructors


Constructor Create(AOwner: TComponent);



Functions

Procedure Close;


Destructor Destroy;


Function Open(FileName: String): Boolean;


Function Play(FName: String; RepCount: SmallInt): Boolean;


Function Seek(Frame: SmallInt): Boolean;


Procedure Stop;


procedure CreateParams(var Params: TCreateParams);


procedure CreateWnd;

ACS_AUTOPLAY - Starts playing the animation as soon as the animation clip is opened.

Function GetLastOpStatus: String;


Procedure SetAutoRepeat(Val: Boolean);


Procedure SetAutoSize(Val: Boolean);


Procedure SetAVIName(Val: String);


Procedure SetAVIState(Val: TAVIControlState);


Procedure SetFrameFrom(Val: SmallInt);


Procedure SetFrameSeek(Val: SmallInt);


Procedure SetFrameTo(Val: SmallInt);


Properties

property Align :


property AutoRepeat : Boolean


property AutoSize : Boolean


property AVIName : String


property AVIState : TAVIControlState


property Enabled :


property FrameFrom : SmallInt


property FrameSeek : SmallInt


property FrameTo : SmallInt


property PopupMenu :


property ShowHint :


property Visible :


property ZStatus : String


Events

event OnMouseDown :


event OnMouseMove :


event OnMouseUp :


Variables

FAutoRepeat : Boolean;


FAutoSize : Boolean;


FAux : String;


FAVIName : String;


FAVIState : TAVIControlState;


FFrameFrom : SmallInt;


FFrameSeek : SmallInt;


FFrameTo : SmallInt;


FLastOpStatus : TAVIControlError;



Constructors


Constructor Create(AOwner: TComponent);


Functions


Procedure Close;


Destructor Destroy;


Function Open(FileName: String): Boolean;


Function Play(FName: String; RepCount: SmallInt): Boolean;


Function Seek(Frame: SmallInt): Boolean;


Procedure Stop;


procedure CreateParams(var Params: TCreateParams);


procedure CreateWnd;

ACS_AUTOPLAY - Starts playing the animation as soon as the animation clip is opened. ACS_CENTER - Centers the animation in the animation control's window. ACS_TRANSPARENT - Draws the animation using a transparent background rather than the background color specified in the animation clip.


Function GetLastOpStatus: String;


Procedure SetAutoRepeat(Val: Boolean);


Procedure SetAutoSize(Val: Boolean);


Procedure SetAVIName(Val: String);


Procedure SetAVIState(Val: TAVIControlState);


Procedure SetFrameFrom(Val: SmallInt);


Procedure SetFrameSeek(Val: SmallInt);


Procedure SetFrameTo(Val: SmallInt);


Properties


property Align :


property AutoRepeat : Boolean


property AutoSize : Boolean


property AVIName : String


property AVIState : TAVIControlState


property Enabled :


property FrameFrom : SmallInt


property FrameSeek : SmallInt


property FrameTo : SmallInt


property PopupMenu :


property ShowHint :


property Visible :


property ZStatus : String


Events


event OnMouseDown :


event OnMouseMove :


event OnMouseUp :


Variables


FAutoRepeat : Boolean;


FAutoSize : Boolean;


FAux : String;


FAVIName : String;


FAVIState : TAVIControlState;


FFrameFrom : SmallInt;


FFrameSeek : SmallInt;


FFrameTo : SmallInt;


FLastOpStatus : TAVIControlError;