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

Thursday, August 23, 2007

 

twoltrackbar

TWOLTrackBar object
Unit: WOLGUI30.
Descendant of TWOLVisualControl. A basic track bar that can be dragged in the gui that is being used.

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 SetTick (aPosition: Integer);
Procedure being used for indicates that indicates the position in the drag bar.

procedure ClearSel;
used procedure to clear a selection.

Public properties and Events:

ThumbRect: TWOLRect (Only for Reading)
Property used to return the value of the area of the drag pointer.

ChannelRect: TWOLRect (Only for Reading)
Property used to return the value of the area of the drags recess.

Min: Integer (For Reading and Writing)
Property used to indicate the minimum value that the bar must represent.

Max: Integer (For Reading and Writing)
Property used to indicate the maximum value that the bar must represent.

Position: Integer (For Reading and Writing)
Property used to indicate the position of the drag pointer.

Frequency: Integer (For Reading and Writing)
Property used to indicate the tick frequency of drag bar.

LineSize: Integer (For Reading and Writing)
Property to indicate how much it drags per tick.

PageSize: Integer (For Reading and Writing)
Property used to indicate how much the pointer moves when it is clicked on.

SelStart: Integer (For Reading and Writing)
Property used to indicate the beginning of a selection.

SelEnd: Integer (For Reading and Writing)
Property used to indicate the end of a selection.

Orientation: TWOLOrientSet (For Reading and Writing)
Property used to indicate the orientation of a drag bar.

TickStyle: Integer (For Reading and Writing)
Property used to indicate the style of ticks.

TickMarks: TWOLPositionSet (For Reading and Writing)
Property used to indicate where position, relative to the drag recess the ticks must be.

EnableSelRange: Boolean (For Reading and Writing)
Property that enables a range of the drag bar.

FixedLen: Boolean (For Reading and Writing)
Property that it indicates that the bar is of a fixed length.

NoThumbs: Boolean (For Reading and Writing)
Property that informs that the pointer is not the desired drag.

OnChange: TWOLEvent (For Reading and Writing)
Event when the position of the drag pointer changes.

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?