Vcl.DBCtrls.TDBImage.DoLoadPicture
Delphi
function DoLoadPicture(AllowReset: Boolean; APicture: TPicture): Boolean; dynamic;
C++
DYNAMIC bool __fastcall DoLoadPicture(bool AllowReset, Vcl::Graphics::TPicture* APicture);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | Vcl.DBCtrls.pas Vcl.DBCtrls.hpp |
Vcl.DBCtrls | TDBImage |
Description
DoLoadPicture is a method called when TDBImage needs to load a picture.
DoLoadPicture allows overriding the default picture loading from the specified TField.
For example, to load an image stored in a separate table or image list with an image ID stored in a specified TField.