Class TrDBMemoEx
Unit
rDBComponents
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
Properties
Description
Methods
|
procedure UpdateState(Sender: TObject); override; |
update current state of component (called automatically)
|
|
procedure FormatBold; |
|
|
procedure FormatItalic; |
|
|
procedure FormatUnderline; |
|
|
procedure FormatHTMLUnnumberedList; |
|
|
procedure FormatHTMLNumberedList; |
|
|
procedure FormatNewPage; |
|
|
procedure FormatHTMLNewLine; |
|
|
procedure FormatHTMLNewLinesAuto; |
|
|
procedure FormatHTMLHorLine; |
|
|
procedure FormatHTMLLink; |
|
|
procedure FormatClear; |
|
|
procedure ShowEditWin; |
show text in independent window supporting edit functions
|
Properties
|
property ScaleRatio: double read FScaleRatio; |
define actual scale ratio relative to original designed size
|
|
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
|
|
property HighlightWholeWords: boolean read FHighlightWholeWords write SetHighlightWholeWords default false; |
define whether only whole words is highlighted
|
|
property HighlightFromStr: string read FHighlightFromStr write SetHighlightFromStr; |
define start tag for hightlighting, text between start and stop tag is highlighted
|
|
property HighlightToStr: string read FHighlightToStr write SetHighlightToStr; |
define stop tag for hightlighting, text between start and stop tag is highlighted
|
|
property HighlightedFontColor: TColor read FHighlightedFontColor write SetHighlightedFontColor default clWindowText; |
define font color of highlighted text
|
|
property HighlightedBrushColor: TColor read FHighlightedBrushColor write SetHighlightedBrushColor default clMoneyGreen; |
define background color of highlighted text
|
|
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
|
|
property ButtonFrm: TBoundSpeedButton read FButtonFrm; |
define properties of bounded Format button
|
|
property ButtonEdit: TBoundSpeedButton read FButtonEdit; |
define properties of bounded Edit button
|
|
property ShowButtonFrm: boolean read FShowButtonFrm write SetShowButtonFrm default false; |
define visibility of Format button
|
|
property ShowButtonEdit: boolean read FShowButtonEdit write SetShowButtonEdit default true; |
define visibility of Edit button
|
|
property StoredLines: TStrings read FStoredLines write SetStoredLines; |
define stored lines, can be used as default value for new record etc.
|
|
property PageBreaksCharNumber: string read FPageBreaksCharNumber write FPageBreaksCharNumber; |
define number of chars used for showing of pagebreaks inside of edit area
|
|
property FormatType: TFormatType read FFormatType write FFormatType default ftRTF; |
define type of formatting used by FormatButton
|
Generated by PasDoc 0.15.0.
|