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

TDBMemo.Create

Constructor for the class instance.

Declaration

Source position: dbctrls.pp line 1010

public constructor TDBMemo.Create(

  TheOwner: TComponent

); override;

Arguments

TheOwner

  

Owner for the class instance.

Description

Create is the overridden constructor for the class instance. Create calls the inherited constructor, and allocates resources for the internal TFieldDataLink instance used in the class. The DataChange and UpdateData methods are assigned as the OnDataChange and OnUpdateData event handlers in the TFieldDataLink instance. Create sets the default values for the ControlStyle and AutoDisplay properties.

See also

TDBMemo.DataChange

  

DataChange - if Data changed, loads the new data into the appropriate part of the Field.

TDBMemo.UpdateData

  

UpdateData - if data changed, copy new text via the datalink.

TDBMemo.AutoDisplay

  

AutoDisplay - if True, automatically displays the data when loaded from the linked dataset.

TFieldDataLink.OnDataChange

  

OnDataChange - event handler for a change in the data.

TFieldDataLink.OnUpdateData

  

OnUpdateData - event handler for updating any pending changes in the data.

TCustomMemo.Create

  

Constructor for the class instance.

TControl.ControlStyle

  

Style flags, specifying whether the control responds to mouse clicks, can be re-sized, has particular actions, etc.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.