Class TUndoAddColumn

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TUndoAddColumn = class(TCustomUndoChangeGridDimensions)

Description

TUndoAddColumn is used to add a column boundary.

Hierarchy

Overview

Fields

Private FColumn: integer;
Private FColumnPosition: real;
Private FSelectedColumn: integer;

Methods

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

Description

Fields

Private FColumn: integer;

FColumn: integer; FColumn is the index of the column being added.

Private FColumnPosition: real;

FColumnPosition: real; FColumnPosition is the position of the column being added.

Private FSelectedColumn: integer;

FSelectedColumn: integer; FSelectedColumn is the selected column.

Methods

Protected function Description: string; override;

See TCustomUndo.Description.

Public constructor Create(const NewPosition: real);

Create creates an instance of TUndoAddColumn.

Parameters
NewPosition
is the position where column is being added.
Public procedure DoCommand; override;

DoCommand adds the column

Public procedure Undo; override;

Undo removes the column


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