DBImage
Description
The component is used to save images to the database. Supported formats: jpg, bmp, gif, png8, png24.
The component is assigned to a specific database field via the TableName and FieldName properties.
Component properties
Property |
Description |
TableName |
Determines which database table a component belongs to. |
FieldName |
Determines which field of the database table this component belongs to. |
CopyTo |
Allows you to specify where you want the file to be copied automatically. More info. |
Proportional |
Determines whether the original aspect ratio of the image should be preserved if the Stretch=True property |
Stretch |
Determines whether the image will fit the dimensions of the component. |
Transparent |
Specifies whether the background of the image obscures objects below the image object. |
Type |
Sets the method of working with a file, save to database, link to file, link to folder. |
Name |
Specifies the name of the component. |
Left |
Specifies the horizontal coordinate of the left edge of a component relative to its parent. |
Top |
Specifies the Y coordinate of the upper-left corner of a control, relative to its parent or containing control in pixels. |
Width |
Specifies the horizontal size of the control in pixels. |
Height |
Specifies the vertical size of the control in pixels. |
Visible |
Specifies whether the component appears onscreen. |
Anchors |
Specifies how the control is anchored to its parent. More info. |
Additional properties
Property |
Description |
Autosize |
Specifies whether the control sizes itself automatically to accommodate the dimensions of the image. |
Center |
Indicates whether the image is centered in the image control. Makes sense if the Stretch = False property |
EnablePreview |
Show the image in full size when you click on the component. |
ShowButtons |
Show buttons (Open, Save, Delete). |
ShowButtonOpen |
Show Open button. |
ShowButtonSave |
Show Save button. |
ShowButtonDelete |
Show Delete button. |
Constraints |
Specifies the size constraints for the component. It makes sense when using the Anchors property. |
Cursor |
Specifies the image used to represent the mouse pointer when it passes into the region covered by the component. |
Enabled |
Controls whether the component responds to mouse and keyboard events. |
Hint |
Hint contains the text string that appears when the user moves the mouse over the component. The hint will be shown if the ShowHint property = True |
ShowHint |
Determines whether the control displays a Help Hint when the mouse pointer rests momentarily on the component. See also property Hint |