Class TUndoPrintInitial

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TUndoPrintInitial = class(TCustomUndo)

Description

TUndoPrintInitial is used to undo or redo changes to frmGoPhast.Model.PrintInitial.

Hierarchy

Overview

Fields

Protected FOldPrintInitial: TPrintInitial;
Public FNewPrintInitial: TPrintInitial;

Methods

Protected function Description: string; override;
Public constructor Create;
Public destructor Destroy; override;
Public procedure DoCommand; override;
Public procedure Undo; override;

Description

Fields

Protected FOldPrintInitial: TPrintInitial;

FOldPrintInitial: TPrintInitial; FOldPrintInitial is a copy of frmGoPhast.Model.PrintInitial as it was when this instance of TUndoPrintInitial was created.

Public FNewPrintInitial: TPrintInitial;

FNewPrintInitial: TPrintInitial; FNewPrintInitial is a new TPrintInitial to be assigned to frmGoPhast.Model.PrintInitial.

Methods

Protected function Description: string; override;

Description describes what Description does.

Public constructor Create;

Create creates an instance of TUndoPrintInitial. Create assigns frmGoPhast.Model.PrintInitial. to FOldPrintInitial.

Public destructor Destroy; override;

Destroy destroys the current instance of TUndoPrintInitial. Do not call Destroy directly. Call Free instead.

Public procedure DoCommand; override;

DoCommand assigns FNewPrintInitial to frmGoPhast.Model.PrintInitial.

Public procedure Undo; override;

Undo assigns FOldPrintInitial to frmGoPhast.Model.PrintInitial.


Generated by PasDoc 0.12.1 on 2013-05-13 15:41:39