Unit 'msedbgraphics' Package
[Overview][Classes][Index] [#msegui]

tdbdataimage

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

Displays and edits the actual image data stored in the bound

Declaration

Source position: msedbgraphics.pas line 102

type tdbdataimage = class(tcustomdataimage,idbgraphicfieldlink,ireccontrol,iifidatalink)

public

  constructor create(); override;

  destructor destroy; override;

published

  property datalink: tgraphicdatalink; [rw]

  property format: string;

  property onbeforepaint: painteventty;

  property onpaintbackground: painteventty;

  property onpaint: painteventty;

  property onafterpaint: painteventty;

end;

Inheritance

tdbdataimage

  

Displays and edits the actual image data stored in the bound

|

tcustomdataimage,idbgraphicfieldlink,ireccontrol,iifidatalink

|

timage,igridwidget

|

tscrollingwidget

|

tscrollingwidgetnwr

|

tcustomeventwidgetnwr

|

tpublishedwidgetnwr

|

tactionpublishedwidgetnwr

|

tactionwidget

|

twidget

|

tactcomponent,iscrollframe,iface,iassistiveclient

|

tmsecomponent,iactivatorclient

  

Extends the FPC tcomponent with object linking facilities and the like; base of every MSEgui component

|

tcomponent,ievent,iificommand,iificlient

|

tpersistent

|

TObject

Description

Displays and edits the actual image data stored in the bound (blob) field, decoding it via the registered graphic format units (e.g. mseformatpng, mseformatjpg — add the ones you need to your uses clause). Set tmsegraphicfield.imagecachekb on the field when used in a tdbwidgetgrid column, to avoid redecoding on every repaint; for a small, fixed set of icons selected by an integer field instead, tdbdataicon performs much better.


Documentation generated on: 2026-10-03