From 060e46986b4afdfc8841b184d5444801fcc6124d Mon Sep 17 00:00:00 2001 From: dsiders Date: Wed, 1 Sep 2021 21:24:09 +0100 Subject: [PATCH] Docs: LCL/dbctrls. Adds missing topics. (cherry picked from commit 4ff5c00578c84eca2b9fa69fe58727343ed72db6) --- docs/xml/lcl/dbctrls.xml | 55 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) diff --git a/docs/xml/lcl/dbctrls.xml b/docs/xml/lcl/dbctrls.xml index 830194e1a0..ad9d387521 100644 --- a/docs/xml/lcl/dbctrls.xml +++ b/docs/xml/lcl/dbctrls.xml @@ -6166,6 +6166,61 @@ TControl.Visible + + + + Specifies an event handler signalled to identify the graphic type for a database image. + + +

+ TOnDBImageRead is the type used for the OnDBImageRead property in TDBImage. It provides a mechanism for identifying the graphic class needed to load image content in the specified stream. In general, it is used when image data in S contains an additional header that must be processed / handled prior to reading the raw image data. +

+
+ + + + +
+ + + Object (TDBImage) instance for the event notification. + + + + + Stream instance with the image data examined in the event handler. + + + + + Returns the file extension used for the graphic type, or an empty string when not determined. + + + + + + Event handler signalled when an image is written to the specified stream. + + +

+ TOnDBImageWrite is the type used for the OnDbImageWrite property in TDBImage. +

+
+ + + + +
+ + Object (TDBImage) for the event notification. + + + Stream instance where the image is stored. + + + File extension associated with the image data. + + TDBImage - a data-aware Image box to display a single image from a dataset.