Units
Classes, Interfaces and Objects
Types
Variables
Constants
Functions and Procedures
Identifiers

Class TMPHexEditorEx

Unit

MPHexEditorEx

Declaration

type TMPHexEditorEx = class(TCustomMPHexEditor)

Description

enhanced hex editor

Hierarchy

TCustomMPHexEditor

Methods

Overview

Public function BeginUpdate: integer;
Public function CanCopy: boolean;
Public function CanCut: boolean;
Public function CanPaste: boolean;
Public function CBCopy: boolean;
Public function CBCut: boolean;
Public function CBPaste: boolean;
Public function CreateRangeUndo(const aStart, aCount: integer; sDesc: string): boolean;
Public function EndUpdate: integer;
Public function OwnsClipBoard: boolean;
Public procedure Print(const Page: integer);
Public function PrintNumPages: integer;
Public function PrintPreview(const Page: integer): TMetaFile;
Public procedure ReleaseClipboard(const Flush: boolean);
Public procedure Save;

Description

Public function BeginUpdate: integer;

each call to BeginUpdate increments an internal counter that prevents from repainting (see also EndUpdate)

Public function CanCopy: boolean;

is copying to clipboard possible?

Public function CanCut: boolean;

is cutting to clipboard possible?

Public function CanPaste: boolean;

is pasting from clipboard possible?

Public function CBCopy: boolean;

copy selection to clipboard

Public function CBCut: boolean;

cut selection to clipboard

Public function CBPaste: boolean;

paste clipboard's contents over current selection

Public function CreateRangeUndo(const aStart, aCount: integer; sDesc: string): boolean;

create an undo for a range of bytes

Public function EndUpdate: integer;

each call to EndUpdate decrements an internal counter that prevents from repainting. the return value is the value of this counter. if the counter is reset to zero, repainting is permitted again (see also BeginUpdate)

Public function OwnsClipBoard: boolean;

do we own the clipboard data?

Public procedure Print(const Page: integer);

print the given page to the default printer. Printer.BeginDoc, Printer.NewPage and Printer.EndDoc must be issued by the caller!

Public function PrintNumPages: integer;

get the number of pages to print

Public function PrintPreview(const Page: integer): TMetaFile;

creates a TMetaFile object and renders the specified page on its canvas. Freeing of the TMetaFile is up to the caller!

Public procedure ReleaseClipboard(const Flush: boolean);

flush or empty the clipboard (if we own the IDataObject)

Public procedure Save;

save to file (overwrite)

Properties

Overview

Private property AllowInsertMode;
Private property BackupExtension: string;
Private property BookmarkBitmap;
Public property BookMarksAsString: string;
Private property BytesPerColumn;
Private property BytesPerRow;
Private property CaretKind;
Private property ClipboardAsHexText: boolean;
Private property Colors;
Private property CreateBackup: boolean;
Private property DrawGridLines;
Private property DrawGutter3D;
Private property FlushClipboardAtShutDown: boolean;
Private property FocusFrame;
Private property GraySelectionIfNotFocused;
Private property GutterWidth;
Private property HexLowerCase;
Private property HideSelection;
Private property InsertMode;
Private property MaskChar;
Private property MaxUndo;
Private property NoSizeChange;
Private property OffsetFormat;
Private property OffsetPopupMenu: TPopupMenu;
Private property OleDragDrop: boolean;
Private property OnChange;
Private property OnInvalidKey;
Private property OnLoadSaveProgress;
Private property OnQueryPublicProperty: TMPHQueryPublicPropertyEvent;
Private property OnTopLeftChanged;
Private property PrintFont: TFont;
Private property PrintOptions: TMPHPrintOptions;
Public property PropertiesAsString: string;
Private property ReadOnlyView;
Private property ShowRuler;
Private property SupportsOtherClipFormats: boolean;
Private property SwapNibbles;
Private property Translation;
Private property UseEditorFontForPrinting: boolean;
Private property Version;
Private property WantTabs;
Private property ZoomOnWheel: boolean;

Description

Private property AllowInsertMode;

see inherited AllowInsertMode

Private property BackupExtension: string;

add this extension to the file if making backups, see CreateBackup

Private property BookmarkBitmap;

see inherited BookmarkBitmap

Public property BookMarksAsString: string;

get/set bookmarks as text (for storing in registry, ini-file)

Private property BytesPerColumn;

see inherited BytesPerColumn

Private property BytesPerRow;

see inherited BytesPerRow

Private property CaretKind;

see inherited CaretKind

Private property ClipboardAsHexText: boolean;

if set to True, CF_TEXT on the clipboard will be treated as hex formatted text

Private property Colors;

see inherited Colors

Private property CreateBackup: boolean;

create a backup on save ? (see also BackupExtension)

Private property DrawGridLines;

see inherited DrawGridLines

Private property DrawGutter3D;

see inherited DrawGutter3D

Private property FlushClipboardAtShutDown: boolean;

flush or empty clipboard at shutdown

Private property FocusFrame;

see inherited FocusFrame

Private property GraySelectionIfNotFocused;

see inherited GraySelectionIfNotFocused

Private property GutterWidth;

see inherited GutterWidth

Private property HexLowerCase;

see inherited HexLowerCase

Private property HideSelection;

see inherited HideSelection

Private property InsertMode;

see inherited InsertMode

Private property MaskChar;

see inherited MaskChar

Private property MaxUndo;

see inherited MaxUndo

Private property NoSizeChange;

see inherited NoSizeChange

Private property OffsetFormat;

see inherited OffsetFormat

Private property OffsetPopupMenu: TPopupMenu;

if this property is assigned to a TPopupMenu, it will be shown on right clicking the offset display pane. then the normal PopupMenu will open on right clicking the character and hex pane.

Private property OleDragDrop: boolean;

if set To True, OLE drag and drop will used automatically when dragging starts or supported OLE data has been dropped on the hex editor

Private property OnChange;

see inherited OnChange

Private property OnInvalidKey;

see inherited OnInvalidKey

Private property OnLoadSaveProgress;

see inherited OnLoadSaveProgress

Private property OnQueryPublicProperty: TMPHQueryPublicPropertyEvent;

this event is called when PropertiesAsString is read or written. (see TMPHQueryPublicPropertyEvent)

Private property OnTopLeftChanged;

see inherited OnTopLeftChanged

Private property PrintFont: TFont;

print using this font

Private property PrintOptions: TMPHPrintOptions;

print/preview options, see TMPHPrintOptions

Public property PropertiesAsString: string;

get set properties as text (for storing in registry, ini-file);

Private property ReadOnlyView;

see inherited ReadOnlyView

Private property ShowRuler;

see inherited ShowRuler

Private property SupportsOtherClipFormats: boolean;

do we support other formats than CF_MPHEXEDITOR and CF_HDROP?

Private property SwapNibbles;

see inherited SwapNibbles

Private property Translation;

see inherited Translation

Private property UseEditorFontForPrinting: boolean;

if set to True, the editor's font will be used for printing

Private property Version;

see inherited Version

Private property WantTabs;

see inherited WantTabs

Private property ZoomOnWheel: boolean;

auto-zoom on mouse wheel?


Generated by DIPasDoc 0.8.0 on Fri 25 Oct 2002 15:50:00