Working with the Control:
Client Area Usage
Mouse events:
The following are all Borland events. For information concerning these
events, consult your Borland documentation.
OnClick event
OnDblClick event
OnMouseDown event
OnMouseMove event
OnMouseUp event
Display events:
OnPaint event
OnRubberBand
event
OnScroll event
Selecting a rectangular area:
AutoRubberBand
property
RubberBandHeight
property
RubberBandLeft
property
RubberBandTop
property
RubberBandVisible
property
RubberBandWidth
property
SetRubberBandRect
method
Getting the device context:
GetClientDC
method
ReleaseClientDC
method
Converting between client and bitmap coordinates:
BitmapToClient
method
ClientToBitmap
method
ConvertX property
ConvertY property
Specifying the client area as the drawing surface:
DrawPersistence
property
Drawing simple objects:
DrawLine method
DrawEllipse
method
DrawRectangle
method
DrawFillColor
property
DrawFillStyle
property
DrawMode property
DrawPenColor
property
DrawPenStyle
property
DrawPenWidth
property
Drawing three-dimensional shapes:
DrawShape method
ShapeLeft property
ShapeTop property
ShapeWidth
property
ShapeHeight
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:
DrawTextStr
method
TextLeft property
TextTop property
TextWidth
property
TextHeight
property
TextAlign
property
TextFont property
TextStyle
property
TextWordWrap
property
TextAngle
property
TextHiliteColor
property
ShadowColor property
ShadowXDepth
property
ShadowYDepth
property
DrawTextHeight method
DrawTextWidth
method
Specifying gradient colors or patterns:
GradientStyle
property
GradientStartColor
property
GradientEndColor
property
GradientSteps
property
PatternStyle property
PatternBackColor
property
PatternForeColor
property