Class TUndoMoveRow

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TUndoMoveRow = class(TUndoDeleteRow)

Description

TUndoMoveRow is used for moving a row boundary.

Hierarchy

Overview

Fields

Private FNewRow: integer;
Private FNewRowPosition: real;

Methods

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

Description

Fields

Private FNewRow: integer;

FNewRow: integer; FNewRow is the index of the row after being moved.

Private FNewRowPosition: real;

FNewRowPosition: real; FNewRowPosition is the position of the row after being moved.

Methods

Protected function Description: string; override;

See TCustomUndo.Description.

Public constructor Create(const ARow: integer; const NewPosition: real);

Create creates an instance of TUndoMoveRow.

Parameters
ARow
is the index of the row boundary to be moved.
NewPosition
is the position of that row after being moved.
Public procedure DoCommand; override;

DoCommand moves the row.

Public procedure Undo; override;

Undo moves the row back where it was.


Generated by PasDoc 0.12.1 on 2013-05-13 15:42:06