Vcl.DBCtrls.TDBImage.OnLoadPicture
Delphi
property OnLoadPicture: TLoadPictureEvent read FOnLoadPicture write FOnLoadPicture;
C++
__property TLoadPictureEvent OnLoadPicture = {read=FOnLoadPicture, write=FOnLoadPicture};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | published | Vcl.DBCtrls.pas Vcl.DBCtrls.hpp |
Vcl.DBCtrls | TDBImage |
Description
OnLoadPicture is an event called when TDBImage needs to load a picture from.
OnLoadPicture 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.