Class TUndoCreateScreenObject
Unit
UndoItemsScreenObjects
Declaration
type TUndoCreateScreenObject = class(TCustomUpdateScreenObjectUndo)
Description
TUndoCreateScreenObject
is used to undo or redo the creation of a TScreenObject.
The TScreenObject is not actually created or destroyed by TUndoCreateScreenObject
. Instead TUndoCreateScreenObject
just sets TScreenObject.Deleted.
Hierarchy
Overview
Fields
Methods
Properties
Description
Fields
Methods
 |
function Description: string; override; |
Description describes what this TUndoCreateScreenObject does. It is used in menu captions and hints.
|
 |
constructor Create(const AScreenObject: TScreenObject); |
Create creates and instance of TUndoCreateScreenObject . AScreenObject is the TScreenObject that has been created.
|
 |
procedure DoCommand; override; |
DoCommand sets Deleted to False and makes other required changes.
|
 |
procedure Redo; override; |
Redo calls DoCommand.
|
 |
procedure Undo; override; |
Undo sets Deleted to True and makes other required changes.
|
Properties
 |
property HasBeenUsed: boolean read FHasBeenUsed write FHasBeenUsed; |
HasBeenUsed is set to True in DoCommand, Redo and Undo; It is used to indicate that the TUndoCreateScreenObject needs to be freed when HasBeenUsed is false/
|
Generated by PasDoc 0.10.0 on 2006-10-31 09:56:47