Image Control

The IMAGE control allows you to display images of type BMP.  Please note that all images must be at least 256 colors or LESS, otherwise no image will be displayed.

NOTE:  The current version of abcDB has a maximum of 40 labels, 40 textboxes, 7 dropdowns, 6 buttons, 14 checkboxes, 1 grid, 4 datepickers, 1 image, 1 scribble and 1 tab per form.

The Image control supports the following properties.

Property Name

Description

Back Color

Background Color

Bound Field

NOT USED

Fore Color

The foreground color of this IMAGE.

Tag

You can use the Tag property to specify or determine the string that identifies the name of an IMAGE control.  Thereafter, the contents of that textbox can be referred to elsewhere in the application using the syntax ~TAGNAME~.

This is especially useful when using the IMAGE() commands.  See appendix for details.

Visible

Specifies whether this IMAGE will be visible or invisible

Height

The height of this IMAGE in Twips*

Width

The width of this IMAGE in Twips*

Left

The horizontal location of the top-left corner of this IMAGE in Twips*

Top

The vertical location of the top-left corner of this IMAGE in Twips*

Path Type

You can either select of the following options:
1. PATH IN FIELD  - Indicates that the path to the image file is contained in a field.  Once you select this option, the very next property in the list will change to DYNAMIC PATH, allowing you to choose the appropriate field.

2. FIXED PATH – Indicates that the path to the image is a fixed path that does not change.  Useful for displaying logos and other images that will remain constant.  Once this option is chosen the very next property in the property list will change to FIXED PATH allowing you to enter the path.

FIXED PATH
or
DYNAMIC PATH

As described in the previous PATH TYPE property.

Stretch?

Determines whether the image will be ‘stretched’ to fit the size of the image control.

TabPage If a tab-control is present on the form, this property determines which 'page' of the tab this control will be located on.  0-Not on tab.