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

Class TMPHexEditorEx

Unit

MPHexEditorEx

Declaration

type TMPHexEditorEx = class(TCustomMPHexEditor)

Description

enhanced hex editor

Hierarchy

TCustomMPHexEditor

Methods

Overview

Publicfunction BeginUpdate: integer;
Publicfunction CanCopy: boolean;
Protectedfunction CanCreateUndo(const aKind: TMPHUndoFlag; const aCount, aReplCount: integer): Boolean; override;
Publicfunction CanCut: boolean;
Publicfunction CanPaste: boolean;
Publicfunction CBCopy: boolean;
Publicfunction CBCut: boolean;
Publicfunction CBPaste: boolean;
Publicprocedure CreateRangeUndo(const aStart, aCount: integer; sDesc: string);
Publicfunction EndUpdate: integer;
Publicfunction OwnsClipBoard: boolean;
Publicprocedure PasteData(P: Pointer; const ACount: integer; const UndoDesc: string = '');
Publicprocedure Print(const Page: integer);
Publicfunction PrintNumPages: integer;
Publicfunction PrintPreview(const Page: integer): TMetaFile;
Publicprocedure ReleaseClipboard(const Flush: boolean);
Publicprocedure Save;
Publicfunction UndoBeginUpdate(const StrUndoDesc: string = ''): integer; reintroduce;
Publicfunction UndoEndUpdate: integer; override;
Publicprocedure WriteBuffer(const Buffer; const Index, Count: Integer); override;

Description

Publicfunction BeginUpdate: integer;

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

Publicfunction CanCopy: boolean;

is copying to clipboard possible?

Protectedfunction CanCreateUndo(const aKind: TMPHUndoFlag; const aCount, aReplCount: integer): Boolean; override;

Protected-Deklarationen

Publicfunction CanCut: boolean;

is cutting to clipboard possible?

Publicfunction CanPaste: boolean;

is pasting from clipboard possible?

Publicfunction CBCopy: boolean;

copy selection to clipboard

Publicfunction CBCut: boolean;

cut selection to clipboard

Publicfunction CBPaste: boolean;

paste clipboard's contents over current selection

Publicprocedure CreateRangeUndo(const aStart, aCount: integer; sDesc: string);

create an undo for a range of bytes

Publicfunction 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)

Publicfunction OwnsClipBoard: boolean;

do we own the clipboard data?

Publicprocedure PasteData(P: Pointer; const ACount: integer; const UndoDesc: string = '');

paste data (in clipboardmanner: check current selection and so on)

Publicprocedure 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!

Publicfunction PrintNumPages: integer;

get the number of pages to print

Publicfunction 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!

Publicprocedure ReleaseClipboard(const Flush: boolean);

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

Publicprocedure Save;

save to file (overwrite)

Publicfunction UndoBeginUpdate(const StrUndoDesc: string = ''): integer; reintroduce;

each call to UndoBeginUpdate increments an internal counter that prevents using undo storage and also disables undo functionality (see also UndoEndUpdate)

Publicfunction UndoEndUpdate: integer; override;

each call to UndoEndUpdate decrements an internal counter that prevents using undo storage and also disables undo functionality. the return value is the value of this counter. if the counter is reset to zero, undo creation is permitted again (see also UndoBeginUpdate)

Publicprocedure WriteBuffer(const Buffer; const Index, Count: Integer); override;

see inherited WriteBuffer

Properties

Overview

Publishedproperty AllowInsertMode;
Publishedproperty BackupExtension: string;
Publishedproperty BookmarkBitmap;
Publicproperty BookMarksAsString: string;
Publishedproperty BytesPerBlock;
Publishedproperty BytesPerColumn;
Publishedproperty BytesPerRow;
Publishedproperty BytesPerUnit;
Publishedproperty CaretKind;
Publishedproperty ClipboardAsHexText: boolean;
Publishedproperty Colors;
Publishedproperty CreateBackup: boolean;
Publicproperty CreateUndoOnUndoUpdate: boolean;
Publishedproperty DrawGridLines;
Publishedproperty DrawGutter3D;
Publishedproperty FindProgress;
Publishedproperty FlushClipboardAtShutDown: boolean;
Publishedproperty FocusFrame;
Publishedproperty GraySelectionIfNotFocused;
Publishedproperty GutterWidth;
Publishedproperty HexLowerCase;
Publishedproperty HideSelection;
Publishedproperty InsertMode;
Publishedproperty MaskChar;
Publishedproperty MaxUndo;
Publishedproperty NoSizeChange;
Publishedproperty OffsetFormat;
Publishedproperty OffsetPopupMenu: TPopupMenu;
Publishedproperty OleDragDrop: boolean;
Publishedproperty OnBookmarkChanged;
Publishedproperty OnChange;
Publishedproperty OnDrawCell;
Publishedproperty OnGetOffsetText;
Publishedproperty OnInvalidKey;
Publishedproperty OnProgress;
Publishedproperty OnQueryPublicProperty: TMPHQueryPublicPropertyEvent;
Publishedproperty OnSelectionChanged;
Publishedproperty OnTopLeftChanged;
Publishedproperty PrintFont: TFont;
Publishedproperty PrintOptions: TMPHPrintOptions;
Publicproperty PropertiesAsString: string;
Publishedproperty ReadOnlyView;
Publishedproperty RulerBytesPerUnit;
Publishedproperty RulerNumberBase;
Publishedproperty SeparateBlocksInCharField;
Publishedproperty ShowPositionIfNotFocused;
Publishedproperty ShowRuler;
Publishedproperty SupportsOtherClipFormats: boolean;
Publishedproperty SwapNibbles;
Publishedproperty Translation;
Publishedproperty UnicodeBigEndian;
Publishedproperty UnicodeChars;
Publishedproperty UseEditorFontForPrinting: boolean;
Publishedproperty Version;
Publishedproperty WantTabs;
Publishedproperty ZoomOnWheel: boolean;

Description

Publishedproperty AllowInsertMode;

see inherited AllowInsertMode

Publishedproperty BackupExtension: string;

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

Publishedproperty BookmarkBitmap;

see inherited BookmarkBitmap

Publicproperty BookMarksAsString: string;

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

Publishedproperty BytesPerBlock;

see inherited BytesPerBlock

Publishedproperty BytesPerColumn;

see inherited BytesPerColumn

Publishedproperty BytesPerRow;

see inherited BytesPerRow

Publishedproperty BytesPerUnit;

see inherited BytesPerUnit

Publishedproperty CaretKind;

see inherited CaretKind

Publishedproperty ClipboardAsHexText: boolean;

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

Publishedproperty Colors;

see inherited Colors

Publishedproperty CreateBackup: boolean;

create a backup on save ? (see also BackupExtension)

Publicproperty CreateUndoOnUndoUpdate: boolean;

if set to True (default is False), an undo record is automatically created on calling UndoBeginUpdate and on calling UndoEndUpdate the record is deleted if the data has not been changed between UndoBegin- and UndoEndUpdate

Publishedproperty DrawGridLines;

see inherited DrawGridLines

Publishedproperty DrawGutter3D;

see inherited DrawGutter3D

Publishedproperty FindProgress;

see inherited FindProgress

Publishedproperty FlushClipboardAtShutDown: boolean;

flush or empty clipboard at shutdown

Publishedproperty FocusFrame;

see inherited FocusFrame

Publishedproperty GraySelectionIfNotFocused;

see inherited GraySelectionIfNotFocused

Publishedproperty GutterWidth;

see inherited GutterWidth

Publishedproperty HexLowerCase;

see inherited HexLowerCase

Publishedproperty HideSelection;

see inherited HideSelection

Publishedproperty InsertMode;

see inherited InsertMode

Publishedproperty MaskChar;

see inherited MaskChar

Publishedproperty MaxUndo;

see inherited MaxUndo

Publishedproperty NoSizeChange;

see inherited NoSizeChange

Publishedproperty OffsetFormat;

see inherited OffsetFormat

Publishedproperty 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.

Publishedproperty 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

Publishedproperty OnBookmarkChanged;

see inherited OnBookmarkChanged

Publishedproperty OnChange;

see inherited OnChange

Publishedproperty OnDrawCell;

see inherited OnDrawCell

Publishedproperty OnGetOffsetText;

see inherited OnGetOffsetText

Publishedproperty OnInvalidKey;

see inherited OnInvalidKey

Publishedproperty OnProgress;

see inherited OnProgress

Publishedproperty OnQueryPublicProperty: TMPHQueryPublicPropertyEvent;

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

Publishedproperty OnSelectionChanged;

see inherited OnSelectionChanged

Publishedproperty OnTopLeftChanged;

see inherited OnTopLeftChanged

Publishedproperty PrintFont: TFont;

print using this font

Publishedproperty PrintOptions: TMPHPrintOptions;

print/preview options, see TMPHPrintOptions

Publicproperty PropertiesAsString: string;

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

Publishedproperty ReadOnlyView;

see inherited ReadOnlyView

Publishedproperty RulerBytesPerUnit;

see inherited RulerBytesPerUnit

Publishedproperty RulerNumberBase;

see inherited RulerNumberBase

Publishedproperty SeparateBlocksInCharField;

see inherited SeparateBlocksInCharField

Publishedproperty ShowPositionIfNotFocused;

see inherited ShowPositionIfNotFocused

Publishedproperty ShowRuler;

see inherited ShowRuler

Publishedproperty SupportsOtherClipFormats: boolean;

do we support other formats than CF_MPHEXEDITOR and CF_HDROP?

Publishedproperty SwapNibbles;

see inherited SwapNibbles

Publishedproperty Translation;

see inherited Translation

Publishedproperty UnicodeBigEndian;

see inherited UnicodeBigEndian

Publishedproperty UnicodeChars;

see inherited UnicodeChars

Publishedproperty UseEditorFontForPrinting: boolean;

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

Publishedproperty Version;

see inherited Version

Publishedproperty WantTabs;

see inherited WantTabs

Publishedproperty ZoomOnWheel: boolean;

auto-zoom on mouse wheel?


Generated by DIPasDoc 0.8.7 on Di 15. Jun 2004 20:02:30