Image control

Use this control to add an image from a Microsoft Windows image file.

To place an image on a form, click Image and then click the form.
Be sure to put the name of the database field or variable that you want to associate with this control into the Input property.

Property Usage
Name Specify a unique identifier for the object on the screen. (Optional)

This name is used by external applications, such as RAD, to dynamically change the properties of the object.
X Specify the object’s horizontal position based on the left edge of the object.
Y Specify the object’s vertical position based on the top edge of the object.
Width Specify the width of the object in alignment grid units.
Height Specify the height of the object in alignment grid units.
Visible Select this option to make the object visible on the form. Clear the check box to hide the object from view on the form.
Visible Condition Specify an expression to override the Visible property when that expression evaluates to true.
Input Specify the database field or variable to associate with this control.
Read-Only Select this option to disable editing capabilities and provide only viewing access to the field. Give read–only fields a tab–stop value of –1 to prevent users from tabbing into them.
Read-Only Condition Specify an expression to override the Read-Only property when that expression evaluates to true.
Image

Specifies the name of an image file to display on the control. The image file must reside in any of the following paths, in which Service Manager looks for the image:

Windows client:

  • <Service Manager>\Client\plugins\com.hp.ov.sm.client.common_x.xx.xxx\src\resources\icons

  • A local directory on the client machine, which is specified in the Image path field (Window > Preferences). For example: C:\smCustomImages.

Web client:

  • <Service Manager web tier>\images. For example: <Tomcat>\webapps\webtier-x.xx\images.

Note When you specify the image file for this property, you need to provide both the file name and the file name extension.

Image Condition Specify an expression to override the Image property when that expression evaluates to true.

Related concepts

Form creation
Forms Designer
Creating and editing forms
Using the drawing canvas
Forms Designer properties view
Setting properties
Enabling HTML in forms
Forms Designer best practices
Building accessible forms

Related tasks

Access Forms Designer
Create a form using the Form Wizard
Update a form

Related references

Attachments control
Forms Designer controls and tools