Image Control Properties

Top  Previous  Next

The Image control lets you place bitmapped and vector images in a window or report. The bitmap file formats supported are .BMP, .PCX, .GIF, .ICO, .CUR and .JPG. The vector file format supported is .WMF. Clarion can support up to 16.7 million color resolution.

You must add the PALETTE attribute to a WINDOW to support custom palettes and color depths beyond the resolution of the end user's machine at runtime. For example, to support a 16.7 million color palette, the proper attribute is PALETTE(16777215).

The Image control cannot receive focus, nor can it generate events.

The Property View presents you with two ways to viewing a control’s properties.

At the top of the Property View, press the categorized button to view a control’s properties by category (the deafult).

Or press the alphabetical button to view a control’s properties in alphabetical order.

This help documents displays the properties in the categorical view.



"Freezes" the control so that subsequent data dictionary changes are not applied. You can override the #Freeze attribute for all controls or for individual controls. See Application Options.

Tab Index

Determines the index in the TAB order that this control will follow. The first tab in the order is index zero (0).

To change the TabIndex property immediately while in the Designer, use the Show tab order interface (i.e. on the right-click menu).

If you set the TabIndex property using the property page, the z-order is not updated until you save and exit the Window Designer.




Select a graphics file. Type in a file name, or press the ellipsis (...) button to the right of the File field to select a graphics file using the standard File Open dialog.

Image Mode

Select from the drop list one of the following modes:


Specifies the image displays stretched to fill the area of the IMAGE.


Specifies the image displays at its default size and is centered in the area of the IMAGE (PROP:CENTERED)


Specifies the image displays at its default size and is tiled to fill the entire area of the IMAGE (PROP:TILED).


Indicates the orientation of the control. Left to Right maintains the original layout specified in the Window Designer. Right to Left essentially "flips" the controls’ display as a mirror image of the layout specified in the Window Designer. Default field navigation moves from right to left. The setting in the Application Frame will cascade its setting to all child windows and controls that have the default setting active.


This defines the USE attribute for the control. Type a field equate label to reference the control in executable code.




Disables or 'grays-out' the control when your program initially displays it. The Window Designer places the DISABLE attribute on the control. Use the ENABLE statement to allow the user access to the control.


Makes the control invisible at the time Windows would initially display it. Windows actually creates the control--it just doesn't display it on screen. The Window Designer places the HIDE attribute on the control. Use the UNHIDE statement to display the control.


Specifies whether the control should move with the window when the user scrolls the window. By default, (False), the control does not move with the window. Leave the Scroll property False to create a control that stays fixed when the user scrolls the window. The Window Designer places the SCROLL attribute on the control when checked.



Lets you set the location and size of the control.

The Position tab lets you specify the AT attribute. Filling in the attribute manually is optional--you may set the position and size visually by dragging with the mouse in the Window Designer.

To set the location of the control's Top Left Corner, set an X (horizontal) and Y (vertical) coordinate in Dialog units. The coordinate is relative to the top left corner of the structure containing it, that is, the window or the report band.

To set the control's size, choose from the following options for Width and Height.


The Clarion runtime library determines the size of the control based on the applicable font and picture token.


The control is the full height or width of the window or report.


Lets you set a precise width or height in Dialog units on a window, or in thousandths of inch, points, or millimeters on a report.


Scroll Bars


To add a horizontal scroll bar to the control, set the Horizontal property to True. Scroll bars only appear when the contents of the text box are bigger than the window.


To add a vertical scroll bar, set the Vertical property to True.

These options add the HSCROLL, VSCROLL, and HVSCROLL attributes to the control.


Quick Links




Accesses the Embedded Source dialog for points surrounding the event handling for this control only.