Class TUndoExplodeScreenObject

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TUndoExplodeScreenObject = class(TCustomUndoDivideScreenObject)

Description

no description available, TCustomUndoDivideScreenObject description follows
no description available, TCustomImportMultipleScreenObjects description follows
no description available, TUndoChangeSelection description follows

TUndoChangeSelection is used to change or restore which TScreenObjects or vertices in an individual TScreenObject are selected.

To use, Create a TUndoChangeSelection, change the TScreenObjects that are selected, and call SetPostSelection. Then Undo and Redo can be used to restore or redo the changes in what is selected.

      UndoChangeSelection := TUndoChangeSelection.Create;
      try
        // Change the selected TScreenObjects here.
        UndoChangeSelection.SetPostSelection;
        if UndoChangeSelection.SelectionChanged then
        begin
          frmGoPhast.UndoStack.Submit(UndoChangeSelection);
        end
        else
        begin
          UndoChangeSelection.Free;
        end;
      except
        UndoChangeSelection.Free;
        raise;
      end;
    

Hierarchy

Overview

Methods

Private procedure DeleteAllButFirstSection;
Protected function Description: string; override;
Protected function ShouldDivideScreenScreenObject( AScreenObject: TScreenObject): boolean; override;
Public constructor Create;
Public procedure Redo; override;

Description

Methods

Private procedure DeleteAllButFirstSection;
 
Protected function Description: string; override;

Description describes what this TUndoExplodeScreenObject does. It is used in menu captions and hints.

Protected function ShouldDivideScreenScreenObject( AScreenObject: TScreenObject): boolean; override;
 
Public constructor Create;
 
Public procedure Redo; override;
 

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