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

Sunday, August 26, 2007

 

twolimagecontrol

TWOLImageControl object
Unit: WOLGUI07.
Descendant of TWOLVisualControl. Image control object

Public Methods and Events:

constructor Create (AOwner: TWOLRoot); override;
destructor Destroy; override;

procedure LoadImage;
Method used to load the image indicated in the Filename property.

procedure CreateGUIParams (to var aParams: TWOLParams; const wClass: TWOLClassType); override;
procedure CreateWnd (to var aParams: TWOLParams); override;
procedure DestroyWnd; override;
procedure RecreateWnd; override;
procedure Redraw; override;
procedure AllocResources; override;
procedure FreeResources; override;
function WndPaint (to var Message: TWOLMessage): Boolean; override;
function WndProc (to var Message: TWOLMessage): Boolean; override;

procedure Clear;
Method used to clear the image in the canvas.

Public properties and Events:

Picture: TWOLPicture (For Reading and Writing)
Property that loads a primitive representation of the image.

FileName: String (For Reading and Writing)
Property that loads the name of the image file.

AutoSize: Boolean (For Reading and Writing)
Property that it indicates that the image must be resized.

Center: Boolean (For Reading and Writing)
Property that it indicates that the image is to be centered in the canvas. This property invalidates the AutoSize property.

IncrementalDisplay: Boolean (For Reading and Writing)
This property indicates that the image will be shown to the few nop canvas when will be great excessively. Not yet functional.

Stretch: Boolean (For Reading and Writing)
Property that it indicates that the image will be stretched in the canvas regardless of the size. Only in the MS-Windows.

Transparent: Boolean (For Reading and Writing)
Property that indicates that the object is transparent.

Border
WindowAlign
Left
Top
Width
Height
Color
Cursor
Visible
Enabled
Hint
OnClick
OnMouseMove
OnKeyPress

Labels: ,


Comments: Post a Comment



<< Home

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