Image Button Properties

 

An image button is used to execute a predefined action or a custom event handler. To do this, the user clicks an image rather than a labeled button.

Appearance

 

HoverText

The text that displays when the user hovers the mouse pointer over the image button.

Source

The file path that maps to the graphic file. For example, C:\Art\Shapes\redtriangle.gif.

Only graphics in the following file formats are permitted:

  • .bmp
  • .tiff
  • .gif
  • .png
  • .jpeg

Behavior

 

Action

The action the image button performs when clicked. For example, the copybrw action copies data from the Borrower section of the Borrower Summary Form to the Co-Borrower section.

Enabled

Sets the initial state of the image button as enabled (True) or disabled (False).

Visible

If set to True, the image button is visible. If set to False, the image button is not visible.

Control

 

ControlID

Used to identify the control. For example, the first image button on the form will be assigned the control ID ImageButton1 while the next image button is assigned ImageButton2. You can change the control ID as needed. The ID can contain numerals or letters, but it must begin with a letter.

Layout

 

Position

Controls the relative position (in pixels) of the image button on the form. The X value determines left to right, the Y value determines top to bottom position. Click the Position property and type values or expand the row to view the X and Y properties and make your changes.

Size

Controls the width and height of the image button (in pixels). Click the Size property and type values or expand the row to view the Width and Height properties and make your changes.