RubberBandWidth property (Main Control)

C++ Builder example

Delphi example

 

Builder Syntax

int RubberBandWidth

Delphi Syntax

RubberBandWidth:Integer

Overview

Refer to Marking a Selection with a Rubberband

Remarks

Sets or gets the current width of the rubberband, which is a one-pixel outline of a rectangle on the display surface.

You can also use the SetRubberBandRect method to change the rectangle. Use the RubberbandVisible property to turn the rubberband on or off.

See Also

Elements:

RubberBandHeight property, RubberBandLeft property, RubberBandTop property, RubberBandVisible property, SetRubberBandRect method

Topics:

Working with the Control: Client Area Usage