Class TrDBMemo

Unit

Declaration

type TrDBMemo = class(TDBMemo)

Description

enhanced TDBMemo with bound label

Hierarchy

  • TDBMemo
  • TrDBMemo

Overview

Methods

Public procedure UpdateState(Sender: TObject); virtual;
Public function SearchText(const Search: string = ''; FromStart: boolean = true; IgnoreCase: boolean = true): boolean;
Public function SearchNext: boolean;

Properties

Public property ScaleRatio: double read FScaleRatio;
Published property DataField: string read GetDataField write SetDataField;
Published property ReadOnlyColor: TColor read FReadOnlyColor write FReadOnlyColor default clBtnFace;
Published property DBEditLabel: TDBBoundLabel read FDBEditLabel;
Published property DefaultPrefix: string read FDefaultPrefix write SetDefaultPrefix;
Published property OptionsEx: TDBMemoOptions read FOptionsEx write FOptionsEx default[moAllowSetFont, moAllowLoadSaveFile];

Description

Methods

Public procedure UpdateState(Sender: TObject); virtual;

update current state of component (called automatically)

Public function SearchText(const Search: string = ''; FromStart: boolean = true; IgnoreCase: boolean = true): boolean;

search and select text if found

Public function SearchNext: boolean;

search and select next text occurrence

Properties

Public property ScaleRatio: double read FScaleRatio;

define actual scale ratio relative to original designed size

Published property DataField: string read GetDataField write SetDataField;
 
Published property ReadOnlyColor: TColor read FReadOnlyColor write FReadOnlyColor default clBtnFace;

define color for not edit state

Published property DBEditLabel: TDBBoundLabel read FDBEditLabel;

define properties of bound label

Published property DefaultPrefix: string read FDefaultPrefix write SetDefaultPrefix;

define prefix for auto-named function (name of component is set according datafield)

Published property OptionsEx: TDBMemoOptions read FOptionsEx write FOptionsEx default[moAllowSetFont, moAllowLoadSaveFile];

define additional options - list of items in the popup menu: moAllowSetFont, moAllowWordWrap, moAllowLoadSaveFile


Generated by PasDoc 0.15.0.