Units
Class Hierarchy
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;
Protected function CanCreateUndo(const aKind: TMPHUndoFlag; const aCount, aReplCount: integer): Boolean; override;
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 PasteData(P: Pointer; const ACount: integer; const UndoDesc: string = '');
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;
Public function UndoBeginUpdate(const StrUndoDesc: string=''): integer; reintroduce;
Public function UndoEndUpdate: integer; override;
Public procedure WriteBuffer(const Buffer; const Index, Count: Integer); override;

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?

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

Protected-Deklarationen

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 PasteData(P: Pointer; const ACount: integer; const UndoDesc: string = '');

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

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)

Public function 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)

Public function 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)

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

see inherited WriteBuffer

Properties

Overview

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

Description

Published property AllowInsertMode;

see inherited AllowInsertMode

Published property BackupExtension: string;

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

Published property BookmarkBitmap;

see inherited BookmarkBitmap

Public property BookMarksAsString: string;

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

Published property BytesPerBlock;

see inherited BytesPerBlock

Published property BytesPerColumn;

see inherited BytesPerColumn

Published property BytesPerRow;

see inherited BytesPerRow

Published property BytesPerUnit;

see inherited BytesPerUnit

Published property CaretKind;

see inherited CaretKind

Published property ClipboardAsHexText: boolean;

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

Published property Colors;

see inherited Colors

Published property CreateBackup: boolean;

create a backup on save ? (see also BackupExtension)

Public property 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

Published property DrawGridLines;

see inherited DrawGridLines

Published property DrawGutter3D;

see inherited DrawGutter3D

Published property FlushClipboardAtShutDown: boolean;

flush or empty clipboard at shutdown

Published property FocusFrame;

see inherited FocusFrame

Published property GraySelectionIfNotFocused;

see inherited GraySelectionIfNotFocused

Published property GutterWidth;

see inherited GutterWidth

Published property HexLowerCase;

see inherited HexLowerCase

Published property HideSelection;

see inherited HideSelection

Published property InsertMode;

see inherited InsertMode

Published property MaskChar;

see inherited MaskChar

Published property MaxUndo;

see inherited MaxUndo

Published property NoSizeChange;

see inherited NoSizeChange

Published property OffsetFormat;

see inherited OffsetFormat

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

Published 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

Published property OnBookmarkChanged;

see inherited OnBookmarkChanged

Published property OnChange;

see inherited OnChange

Published property OnDrawCell;

see inherited OnDrawCell

Published property OnGetOffsetText;

see inherited OnGetOffsetText

Published property OnInvalidKey;

see inherited OnInvalidKey

Published property OnLoadSaveProgress;

see inherited OnLoadSaveProgress

Published property OnQueryPublicProperty: TMPHQueryPublicPropertyEvent;

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

Published property OnSelectionChanged;

see inherited OnSelectionChanged

Published property OnTopLeftChanged;

see inherited OnTopLeftChanged

Published property PrintFont: TFont;

print using this font

Published property PrintOptions: TMPHPrintOptions;

print/preview options, see TMPHPrintOptions

Public property PropertiesAsString: string;

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

Published property ReadOnlyView;

see inherited ReadOnlyView

Published property RulerBytesPerUnit;

see inherited RulerBytesPerUnit

Published property SeparateBlocksInCharField;

see inherited SeparateBlocksInCharField

Published property ShowPositionIfNotFocused;

see inherited ShowPositionIfNotFocused

Published property ShowRuler;

see inherited ShowRuler

Published property SupportsOtherClipFormats: boolean;

do we support other formats than CF_MPHEXEDITOR and CF_HDROP?

Published property SwapNibbles;

see inherited SwapNibbles

Published property Translation;

see inherited Translation

Published property UnicodeBigEndian;

see inherited UnicodeBigEndian

Published property UnicodeChars;

see inherited UnicodeChars

Published property UseEditorFontForPrinting: boolean;

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

Published property Version;

see inherited Version

Published property WantTabs;

see inherited WantTabs

Published property ZoomOnWheel: boolean;

auto-zoom on mouse wheel?


Generated by DIPasDoc 0.8.6 on Mi 10. Sep 2003 19:43:56