Class TrDBMemoEx

Unit

Declaration

type TrDBMemoEx = class(TrDBMemo)

Description

enhanced TrDBMemo component which provides highlighting of words in text according list of words or highlighting of text between start and stop tag, contain Format and Edit buttons with menu and user defined text in header

Hierarchy

Overview

Methods

Public procedure UpdateState(Sender: TObject); override;
Public procedure FormatBold;
Public procedure FormatItalic;
Public procedure FormatUnderline;
Public procedure FormatHTMLUnnumberedList;
Public procedure FormatHTMLNumberedList;
Public procedure FormatNewPage;
Public procedure FormatHTMLNewLine;
Public procedure FormatHTMLNewLinesAuto;
Public procedure FormatHTMLHorLine;
Public procedure FormatHTMLLink;
Public procedure FormatClear;
Public procedure ShowEditWin;

Properties

Public property ScaleRatio: double read FScaleRatio;
Published property HighlightWords: TStringList read FHighlightWords write SetHighlightWords;
Published property HighlightWholeWords: boolean read FHighlightWholeWords write SetHighlightWholeWords default false;
Published property HighlightFromStr: string read FHighlightFromStr write SetHighlightFromStr;
Published property HighlightToStr: string read FHighlightToStr write SetHighlightToStr;
Published property HighlightedFontColor: TColor read FHighlightedFontColor write SetHighlightedFontColor default clWindowText;
Published property HighlightedBrushColor: TColor read FHighlightedBrushColor write SetHighlightedBrushColor default clMoneyGreen;
Published property HighlightFromToEx: TStringList read FHighlightFromToEx write SetHighlightFromToEx;
Published property ButtonFrm: TBoundSpeedButton read FButtonFrm;
Published property ButtonEdit: TBoundSpeedButton read FButtonEdit;
Published property ShowButtonFrm: boolean read FShowButtonFrm write SetShowButtonFrm default false;
Published property ShowButtonEdit: boolean read FShowButtonEdit write SetShowButtonEdit default true;
Published property BoundLabel: rDBComponents.TBoundLabel read FBoundLabel;
Published property StoredLines: TStrings read FStoredLines write SetStoredLines;
Published property PageBreaksCharNumber: string read FPageBreaksCharNumber write FPageBreaksCharNumber;
Published property FormatType: TFormatType read FFormatType write FFormatType default ftRTF;

Description

Methods

Public procedure UpdateState(Sender: TObject); override;

update current state of component (called automatically)

Public procedure FormatBold;
 
Public procedure FormatItalic;
 
Public procedure FormatUnderline;
 
Public procedure FormatHTMLUnnumberedList;
 
Public procedure FormatHTMLNumberedList;
 
Public procedure FormatNewPage;
 
Public procedure FormatHTMLNewLine;
 
Public procedure FormatHTMLNewLinesAuto;
 
Public procedure FormatHTMLHorLine;
 
Public procedure FormatHTMLLink;
 
Public procedure FormatClear;
 
Public procedure ShowEditWin;

show text in independent window supporting edit functions

Properties

Public property ScaleRatio: double read FScaleRatio;

define actual scale ratio relative to original designed size

Published property HighlightWords: TStringList read FHighlightWords write SetHighlightWords;

list of hightlighted words, font color and background color can be defined in line on 2nd and 3rd place with TAB separator

Published property HighlightWholeWords: boolean read FHighlightWholeWords write SetHighlightWholeWords default false;

define whether only whole words is highlighted

Published property HighlightFromStr: string read FHighlightFromStr write SetHighlightFromStr;

define start tag for hightlighting, text between start and stop tag is highlighted

Published property HighlightToStr: string read FHighlightToStr write SetHighlightToStr;

define stop tag for hightlighting, text between start and stop tag is highlighted

Published property HighlightedFontColor: TColor read FHighlightedFontColor write SetHighlightedFontColor default clWindowText;

define font color of highlighted text

Published property HighlightedBrushColor: TColor read FHighlightedBrushColor write SetHighlightedBrushColor default clMoneyGreen;

define background color of highlighted text

Published property HighlightFromToEx: TStringList read FHighlightFromToEx write SetHighlightFromToEx;

enhanced from-to hightlighting, list of FromStr + ToStr + font color + background color items is defined in line with TAB separator

Published property ButtonFrm: TBoundSpeedButton read FButtonFrm;

define properties of bounded Format button

Published property ButtonEdit: TBoundSpeedButton read FButtonEdit;

define properties of bounded Edit button

Published property ShowButtonFrm: boolean read FShowButtonFrm write SetShowButtonFrm default false;

define visibility of Format button

Published property ShowButtonEdit: boolean read FShowButtonEdit write SetShowButtonEdit default true;

define visibility of Edit button

Published property BoundLabel: rDBComponents.TBoundLabel read FBoundLabel;

define properties of bounded label

Published property StoredLines: TStrings read FStoredLines write SetStoredLines;

define stored lines, can be used as default value for new record etc.

Published property PageBreaksCharNumber: string read FPageBreaksCharNumber write FPageBreaksCharNumber;

define number of chars used for showing of pagebreaks inside of edit area

Published property FormatType: TFormatType read FFormatType write FFormatType default ftRTF;

define type of formatting used by FormatButton


Generated by PasDoc 0.15.0.