[Overview][Types][Classes][Index] | Reference for unit 'RubberBand' (#lcl)

# TRubberBand

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Implements a rubber-band selection.

## Declaration

Source position: rubberband.pas line 49

`type TRubberBand = class(TCustomRubberBand)`

## Inheritance

`TRubberBand` |  | Implements a rubber-band selection.
`TCustomRubberBand` |  | Base class which implements a rubber-band selection.
`TWinControl` |  | Implements a windowed control which can contain other child controls.
`TControl` |  | The base class for visible controls.
`TLCLComponent` |  | The base class for LCL components which have an associated widget.
`TComponent`
?
`TObject`

## Description

TRubberBand is a TCustomRubberBand descendant which which implements a control used to draw rubber-band selections in the Lazarus Component Library (LCL). TRubberBand is used to provide support for selection shape maps used in widgetset classes, especially widgetset design-time classes.

Set the value in the Shape property to control the appearance for the rubber-band selection drawn for the target platform.

## See also

TCustomRubberBand |  | Base class which implements a rubber-band selection.