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

Thursday, August 23, 2007

 

twolstatusbar

TWOLStatusBar object
Unit: WOLGUI24.
Descendant of TWOLVisualControl. a basic status bar in the gui in use.

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 WndProc (to var Message: TWOLMessage): Boolean; override;

procedure AddPart (sText: String; nWidth: TWOLSmallInt);
Method used to add parts (rectangles with text) in the status bar.

procedure SetPart (nPart: TWOLSmallInt; sText: String; nWidth: TWOLSmallInt);
Method used to modify the parts of a status bar.

procedure DelPart (nPart: TWOLSmallInt);
Method used to erase a part of the status bar.

procedure GetPart (nPart: TWOLSmallInt; to var sText: String; to var nWidth: TWOLSmallInt);
Used method to return the values in a part of the status bar.

Public properties and Events:

SimplePart: Boolean (For Reading and Writing)
It indicates that the status bar if text is present (without the existence of parts).

SimpleText: String (For Reading and Writing)
It modifies the simple text of the status bar if it will be of the SimplePart type.

SizeGrip: Boolean (For Reading and Writing)
It indicates that a redimensioned drawing will be placed in the right side of the bar of state.

OnClick
OnMouseMove
OnDblClick
Border
TextAlign
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?