Class TRbwDataGridColumns

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TRbwDataGridColumns = class(TCollection)

Description

TRbwDataGridColumns is a collection of all the columns in a TRbwDataGrid.

Hierarchy

Overview

Fields

Private FGrid: TCustomRBWDataGrid;

Methods

Private function GetItems(Index: Integer): TRbwColumn;
Private procedure SetItems(Index: Integer; const Value: TRbwColumn);
Protected function GetOwner: TPersistent; override;
Protected procedure Update(Item: TCollectionItem); override;
Public function Add: TRbwColumn;
Public constructor Create(Grid: TRbwDataGrid; ColumnClass: TRbwColumnClass);

Properties

Public property Grid: TCustomRBWDataGrid read FGrid;
Public property Items[Index: Integer]: TRbwColumn read GetItems write SetItems;

Description

Fields

Private FGrid: TCustomRBWDataGrid;

FGrid: TCustomRBWDataGrid;

See Grid

Methods

Private function GetItems(Index: Integer): TRbwColumn;

See Items

Private procedure SetItems(Index: Integer; const Value: TRbwColumn);

See Items

Protected function GetOwner: TPersistent; override;

GetOwner returns the TRbwDataGrid that owns the TRbwDataGridColumns.

Protected procedure Update(Item: TCollectionItem); override;

Update invalidates all or part of the grid.

Public function Add: TRbwColumn;

Add creates a new column.

Public constructor Create(Grid: TRbwDataGrid; ColumnClass: TRbwColumnClass);

Call inherited Create and assigns the TRbwDataGrid.

Properties

Public property Grid: TCustomRBWDataGrid read FGrid;

The TCustomRBWDataGrid. that owns the collection

Public property Items[Index: Integer]: TRbwColumn read GetItems write SetItems;

Items is used to access individual columns.


Generated by PasDoc 0.10.0 on 2006-10-31 09:56:43