Class TUndoMoveColumn

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TUndoMoveColumn = class(TUndoDeleteColumn)

Description

TUndoMoveColumn is used for moving a column boundary.

Hierarchy

Overview

Fields

Private FNewColumn: integer;
Private FNewColumnPosition: real;

Methods

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

Description

Fields

Private FNewColumn: integer;

FNewColumn: integer; FNewColumn is the index of the column after being moved.

Private FNewColumnPosition: real;

FNewColumnPosition: real; FNewColumnPosition is the position of the column after being moved.

Methods

Protected function Description: string; override;

See TCustomUndo.Description.

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

Create creates an instance of TUndoMoveColumn.

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

DoCommand moves the column.

Public procedure Undo; override;

Undo moves the column back where it was.


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