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

TDBImage

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

TDBImage - a data-aware Image box to display a single image from a dataset

Declaration

Source position: dbctrls.pp line 702

type TDBImage = class(TCustomImage)

protected

  procedure Notification(); override;

  

  procedure DataChange(); virtual;

  

  procedure UpdateData(); virtual;

  

  procedure ActiveChange(); virtual;

  procedure PictureChanged(); override;

  procedure LoadPicture; virtual;

  

  procedure Loaded; override;

  

public

  constructor Create(); override;

  

  destructor Destroy; override;

  

  property Field: TField; [r]

  

  procedure Change; virtual;

published

  property Align;

  

  property Anchors;

  property AutoDisplay: Boolean; [rw]

  

  property AutoSize;

  

  property BorderSpacing;

  property Center;

  

  property Constraints;

  

  property DataField: String; [rw]

  

  property DataSource: TDataSource; [rw]

  

  property DragCursor;

  property DragMode;

  property OnClick;

  

  property OnDragDrop;

  property OnDragOver;

  property OnEndDrag;

  property OnMouseDown;

  

  property OnMouseMove;

  

  property OnMouseUp;

  

  property OnStartDrag;

  property Picture;

  

The picture that is to be stored or displayed

  property Proportional;

  

True if image is proportional

  property QuickDraw: Boolean; [rw]

  

  property ReadOnly: Boolean; [rw]

  

  property Stretch;

  

  property Transparent;

  

  property Visible;

  

end;

Inheritance

TDBImage

  

TDBImage - a data-aware Image box to display a single image from a dataset

|

TCustomImage

?

TObject

Description

The Image is stored in the database as a Binary Large Object (BLOB)

See also

HowToUseDataAwareControls

  

HowToUseDataAwareControls - Hints for accessing databases