Class TRangeSelections

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TRangeSelections = class(TObject)

Description

TRangeSelections has a series of TGridRect's that indicate which cells are selected.

Hierarchy

Overview

Fields

Strict Private FRanges: array of TGridRect;
Strict Private FCount: integer;

Methods

Private function GetRange(const Index: integer): TGridRect;
Private procedure Grow;
Public procedure Add(const Range: TGridRect);
Public procedure Clear;

Properties

Public property Count: integer read FCount;
Public property Ranges[constIndex:integer]: TGridRect read GetRange;

Description

Fields

Strict Private FRanges: array of TGridRect;

FRanges is an array of TGridRect's that indicate which cells are selected. See Ranges.

Strict Private FCount: integer;

See Count.

Methods

Private function GetRange(const Index: integer): TGridRect;

See Ranges.

Private procedure Grow;

Grow increases the size of FRanges.

Public procedure Add(const Range: TGridRect);

Add adds a new TGridRect to Ranges.

Public procedure Clear;

Clear removes all the TGridRect's in Ranges.

Properties

Public property Count: integer read FCount;

Count is the number of TGridRect's in Ranges.

Public property Ranges[constIndex:integer]: TGridRect read GetRange;

Ranges is used to read the TGridRect's in TRangeSelections.


Generated by PasDoc 0.12.1 on 2013-05-13 15:41:58