Class TUndoAddRow

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TUndoAddRow = class(TCustomUndoChangeGridDimensions)

Description

TUndoAddRow is used to add a row boundary.

Hierarchy

Overview

Fields

Private Row: integer;
Private RowPosition: real;
Private SelectedRow: integer;

Methods

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

Description

Fields

Private Row: integer;

Row: integer; Row is the index of the row being added.

Private RowPosition: real;

RowPosition: real; RowPosition is the position of the row being added.

Private SelectedRow: integer;

SelectedRow: integer; SelectedRow is the selected row.

Methods

Protected function Description: string; override;

See TCustomUndo.Description.

Public constructor Create(const NewPosition: real);

Create creates an instance of TUndoAddRow.

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

DoCommand adds the row.

Public procedure Undo; override;

Undo removes the row.


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