Working with the Control:
 Client Area Usage

Mouse events:

Click event

DblClick event

EnableMouseWheel property

MouseDown event

MouseMove event

MouseUp event

MouseWheel event

MouseIcon property

MousePointer property

Display events:

Paint event

RubberBand event

Scroll event

Selecting a rectangular area:

AutoRubberBand property

MouseIcon property

MousePointer property

RubberBandHeight property

RubberBandLeft property

RubberBandTop property

RubberBandVisible property

RubberBandWidth property

SetRubberBandRect method

Getting the device context:

GetClientDC method

ReleaseClientDC method

Getting client-area measurements:

ScaleHeight property

ScaleLeft property

ScaleMode property

ScaleTop property

ScaleWidth property

Converting Between Bitmap and Client Coordinates

BitmapToClient method

ClientToBitmap method

ConvertX property

ConvertY property

Specifying the client area as the drawing surface:

DrawPersistence property

Drawing simple objects:

DrawEllipse method

DrawFillColor property

DrawFillStyle property

DrawLine method

DrawMode property

DrawPenColor property

DrawPenStyle property

DrawPenWidth property

DrawRectangle method

Drawing three-dimensional shapes:

DrawShape method


ShapeHeight property

ShapeLeft property

ShapeTop property

ShapeWidth property


ShapeBackgroundStyle property

BackgroundImageHeight property

BackgroundImageLeft property

BackgroundImageTop property

BackgroundImageWidth property


ShapeBorderColor property

ShapeBorderStyle property

ShapeBorderThickness property


ShapeInnerBandHiliteColor property

ShapeInnerBandShadowColor property

ShapeInnerBandStyle property

ShapeInnerBandThickness property

ShapeOuterBandHiliteColor property

ShapeOuterBandShadowColor property

ShapeOuterBandStyle property

ShapeOuterBandThickness property


ShadowColor property

ShadowXDepth property

ShadowYDepth property

Drawing three-dimensional text objects:

DrawText method

DrawTextOut method (limited support for related properties)


TextAlign property

TextHeight property

TextLeft property

TextTop property

TextWidth property


DrawFontColor property

Font property

TextAngle property

TextHiliteColor property

TextStyle property

TextWordWrap property


ShadowColor property

ShadowXDepth property

ShadowYDepth property


DrawTextHeight method

DrawTextWidth method

Specifying gradient colors or patterns:

GradientEndColor property

GradientStartColor property

GradientSteps property

GradientStyle property


PatternBackColor property

PatternForeColor property

PatternStyle property