Class TUndoDeleteColumn

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TUndoDeleteColumn = class(TCustomUndoChangeGridDimensions)

Description

TUndoDeleteColumn is used for deleting a column boundary from the grid.

Hierarchy

Overview

Fields

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

Methods

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

Description

Fields

Private FColumn: integer;

FColumn: integer; FColumn is the index of the column boundary.

Private FColumnPosition: real;

FColumnPosition: real; FColumnPosition is the position of the column in grid coordinates.

Private FSelectedColumn: integer;

FSelectedColumn: integer; FSelectedColumn stores the column in the grid that was selected.

Methods

Protected function Description: string; override;

See TCustomUndo.Description.

Public constructor Create(const AColumn: integer);

Create creates an instance of TUndoDeleteColumn. AColumn is the index of the column boundary to be deleted.

Public procedure DoCommand; override;

DoCommand deletes the column.

Public procedure Undo; override;

Undo restores the column.


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