[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'DbCtrls' (#lcl)

TDBMemo

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

TDBMemo - a data-aware Memo box to process the multi-line text of a single field in a dataset

Declaration

Source position: dbctrls.pp line 569

type TDBMemo = class(TCustomMemo)

protected

  function GetReadOnly; override;

  

  procedure SetReadOnly(); override;

  

  function WordWrapIsStored; override;

  

  procedure DataChange(); virtual;

  

  procedure ActiveChange(); virtual;

  procedure Notification(); override;

  

  procedure UpdateData(); virtual;

  

  procedure FocusRequest(); virtual;

  

  procedure Loaded; override;

  

  procedure Change; override;

  procedure KeyPress(); override;

  procedure WndProc(); override;

public

  constructor Create(); override;

  

  destructor Destroy; override;

  

  procedure EditingDone; override;

  

  procedure LoadMemo; virtual;

  

  property Field: TField; [r]

  

The field in the DataSet to which this control is to be linked. Can be referred to by name, or as an index

published

  property Align;

  

  property Anchors;

  

  property AutoDisplay: Boolean; [rw]

  

  property BorderSpacing;

  property Color;

  

  property DataField: String; [rw]

  

The name of the field, as a string (ie cannot be referred to as an Index)

  property DataSource: TDataSource; [rw]

  

The DataSource from which information is obtained to display in this control. Usually the result of a SQLQuery

  property DragCursor;

  property DragMode;

  property Font;

  

  property Lines;

  

  property MaxLength;

  

  property OnChange;

  

  property OnDragDrop;

  property OnDragOver;

  property OnEndDrag;

  property OnEnter;

  

  property OnExit;

  

  property OnKeyDown;

  

  property OnKeyPress;

  

  property OnKeyUp;

  

  property OnStartDrag;

  property OnUTF8KeyPress;

  property ParentFont;

  property PopupMenu;

  

  property ReadOnly: Boolean; [rw]

  

  property ScrollBars;

  

  property TabOrder;

  property Tabstop;

  

  property Visible;

  

  property WordWrap; [s]

  

end;

Inheritance

TDBMemo

  

TDBMemo - a data-aware Memo box to process the multi-line text of a single field in a dataset

|

TCustomMemo

?

TObject

See also

HowToUseDataAwareControls

  

HowToUseDataAwareControls - Hints for accessing databases