.comment-link {margin-left:.6em;}

Thursday, August 23, 2007

 

twolanimate

TWOLAnimate object
Unit: WOLGUI34.
Descendant of TWOLVisualControl. A wol object that is a basic video animation in the GUI being used. Currently, only in MS-Windows, without audio.

Public Methods and Events:

constructor Create (AOwner: TWOLRoot); override;
destructor Destroy; override;
procedure CreateGUIParams (to var aParams: TWOLParams; const wClass: TWOLClassType); override;
procedure CreateWnd (to var aParams: TWOLParams); override;
procedure AllocResources; override;
procedure FreeResources; override;
function WndPaint (to var Message: TWOLMessage): Boolean; override;
function WndCommand (to var Message: TWOLMessage): Boolean; override;
function WndProc (to var Message: TWOLMessage): Boolean; override;

procedure Open;
Procedure used to open clip of video (AVI) specified in the Filename property.

procedure Play;
Procedure used to play clip in the window.

procedure Stop;
used procedure to stop clip that is playing.

procedure Close;
procedure used to close a clip.

Public properties and Events:

Transparent: Boolean (For Reading and Writing)
Property that specifies that clip is transparent. The transparent color is first pixel of clip.

FileName: string (For Reading and Writing)
Property that specifies the name of the archive that contains a video clip.

AutoPlay: Boolean (For Reading and Writing)
Property that indicates the automatic clip execution when an archive is loaded.

Center: Boolean (For Reading and Writing)
Property that it indicates that the clip image is centered in the animation window.

RepeatNum: TWOLSmallInt (For Reading and Writing)
Property that returns the number it of times that a clip will be repeated. If it is zero, the clip will be repeated indefinitely.

StartFrame: TWOLSmallInt (For Reading and Writing)
Property that specifies the picture of beginning of a clip.

OnStart: TWOLEvent (For Reading and Writing)
Event that happens when clip starts.

OnStop: TWOLEvent (For Reading and Writing)
Event that happens when clip stops.

OnClick
OnMouseMove
OnDblClick
Border
WindowAlign
Left
Top
Width
Height
Color
Font
Cursor
Visible
Enabled
Hint
Tabstop
TabOrder
Ctrl3D

Labels: ,


Comments: Post a Comment

Links to this post:

Create a Link



<< Home

This page is powered by Blogger. Isn't yours?