TurboDB VCL Component Library

TTdbBlobProvider.OnReadGraphic Event


Previous  Top  Next

Occurs when a graphic is to be read from the database.

Delphi syntax:

TTdbBlobProviderReadGraphicEvent = procedure(Marker: Integer; var Graphic: TGraphic) of object;

property OnReadGraphic: TTdbBlobProviderReadGraphicEvent read FOnReadGraphic write FOnReadGraphic;

C++ syntax:

typedef void __fastcall (__closure *TTdbBlobProviderReadGraphicEvent)(int Marker, TGraphic& Graphic);

__property TTdbBlobProviderReadGraphicEvent = {read=FOnReadGraphic, write=FOnReadGraphic};


Handle this event, if the application wants to create the graphic by itself instead of having the blob provider do it.