Class TUndoDeleteRow

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TUndoDeleteRow = class(TCustomUndoChangeGridDimensions)

Description

TUndoDeleteRow is used for deleting a row boundary from the grid.

Hierarchy

Overview

Fields

Private FRow: integer;
Private FRowPosition: real;
Private FSelectedRow: Integer;

Methods

Protected function Description: string; override;
Public constructor Create(const ARow: integer);
Public procedure DoCommand; override;
Public procedure Undo; override;

Description

Fields

Private FRow: integer;

FRow: integer; FRow is the index of the row boundary.

Private FRowPosition: real;

FRowPosition: real; FRowPosition is the position of the row in grid coordinates.

Private FSelectedRow: Integer;

FSelectedRow: integer; FSelectedRow stores the row in the grid that was selected.

Methods

Protected function Description: string; override;

See TCustomUndo.Description.

Public constructor Create(const ARow: integer);

Create creates an instance of TUndoDeleteRow. ARow is the index of the row boundary to be deleted.

Public procedure DoCommand; override;

DoCommand deletes the row.

Public procedure Undo; override;

Undo restores the row.


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