Class tdbdataimage
Unit
Declaration
type tdbdataimage = class(tcustomdataimage, idbgraphicfieldlink, ireccontrol, iifidatalink)
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.
Hierarchy
- TObject
- tpersistent
- tcomponent
- tmsecomponent
- tactcomponent
- twidget
- tactionwidget
- tactionpublishedwidgetnwr
- tpublishedwidgetnwr
- tcustomeventwidgetnwr
- tscrollingwidgetnwr
- tscrollingwidget
- timage
- tcustomdataimage
- tdbdataimage
Overview
Methods
| Protected | procedure griddatasourcechanged; override; |
| Protected | procedure loadcellbmp(const acanvas: tcanvas; const abmp: tmaskedbitmap); override; |
| Protected | function getrowdatapo(const arow: integer): pointer; override; |
| Protected | function createdatalist(const sender: twidgetcol): tdatalist; override; |
| Protected | procedure defineproperties(filer: tfiler); override; |
| Protected | procedure setvalue(const avalue: string); override; |
| Protected | procedure gridtovalue(row: integer); override; |
| Protected | procedure doshortcut(var info: keyeventinfoty; const sender: twidget); override; |
| Public | constructor create(aowner: tcomponent); override; |
| Public | destructor destroy; override; |
Properties
| Published | property datalink: tgraphicdatalink read fdatalink write setdatalink; |
| Published | property format; |
| Published | property onbeforepaint; |
| Published | property onpaintbackground; |
| Published | property onpaint; |
| Published | property onafterpaint; |
Description
Methods
| Protected | procedure griddatasourcechanged; override; |
|
This item has no description. | |
| Protected | procedure loadcellbmp(const acanvas: tcanvas; const abmp: tmaskedbitmap); override; |
|
This item has no description. | |
| Protected | function getrowdatapo(const arow: integer): pointer; override; |
|
This item has no description. | |
| Protected | function createdatalist(const sender: twidgetcol): tdatalist; override; |
|
This item has no description. | |
| Protected | procedure defineproperties(filer: tfiler); override; |
|
This item has no description. | |
| Protected | procedure setvalue(const avalue: string); override; |
|
This item has no description. | |
| Protected | procedure gridtovalue(row: integer); override; |
|
This item has no description. | |
| Protected | procedure doshortcut(var info: keyeventinfoty; const sender: twidget); override; |
|
This item has no description. Showing description inherited from twidget.doshortcut.
Simplified key event propagation: an unhandled key first goes through | |
| Public | constructor create(aowner: tcomponent); override; |
|
This item has no description. | |
| Public | destructor destroy; override; |
|
This item has no description. | |
Properties
| Published | property datalink: tgraphicdatalink read fdatalink write setdatalink; |
|
This item has no description. | |
| Published | property format; |
|
This item has no description. | |
| Published | property onbeforepaint; |
|
This item has no description. | |
| Published | property onpaintbackground; |
|
This item has no description. | |
| Published | property onpaint; |
|
This item has no description. | |
| Published | property onafterpaint; |
|
This item has no description. | |
Generated by PasDoc 1.0.4.