TIB_CustomImage Object
Properties Methods

Unit
IB_Controls

Declaration
TIB_CustomImage = class(TCustomControl)

Description
This control has been designed to display images from a BLOB column.

It is possible to change the image by assigning a new image to the Picture property of the control. The clipboard has also been enabled to transfer images in and out of the control.

Introduced Public Properties
AutoDisplay  This property allows the BLOB contents to automatically be loaded in or to remain unloaded until the user double-clicks on it or presses ENTER.
AutoSize  Automatically adjust the borders of the control in order to display the image at its native dimensions and scale.
Center  Paint the image centered in the borders of the control.
DataField  Name of the column to which this control is bound.
DataSource  Reference to the dataset to which this control is bound.
Field  Reference to the column to which this control is bound.
IgnoreColorScheme  This property causes the control to ignore the coloring scheme and allow its color to be maintained manually by the application developer.
KeepScale  NOT FULLY IMPLEMENTED YET!
OnPrepareSQL  This event allows for custom alterations to be made to the SELECT statement's WHERE clause at prepare time.
ParentColor 
Picture  This property gives access to the image data for runtime manipulation.
PreventDeleting  Determines if the control can initiate the deletion of records.
PreventEditing  Determines if any editing changes can be made through this control.
PreventInserting  Determines if any inserting changes can be made through this control.
PreventSearching  Determines if any search criteria changes can be made through this control.
QuickDraw  Use a quicker method of painting the image on the screen.
ReadOnly  Determins if any modifications can be entered through this control.
SearchAlways  This property can make the control act as though it were always in search mode.
SearchBuffer  Reference to the SearchBuffer for this data bound control.
SearchWithMask  This property makes it so that IBO will continue to enforce the Editmask setting for the colum even when in search mode.
Stretch  Stretch the contents of the image to fit inside of the bounds of the control.

Introduced Public Methods
CanModify
CopyToClipboard   Place a copy the contents of the image onto the clipboard.
Create
CutToClipboard   Move the contents of the image onto the clipboard.
Destroy
LoadPicture   Make sure that the image is loaded from the BLOB column.
PasteFromClipboard   Copy the image data from the clipboard into the control.