### Button Properties dialog

This dialog appears when you right-click a button in a navigation control and select Properties from the shortcut menu. It helps you to modify the properties of the button.

Button Type

- Button
  The button is displayed as a normal button.
- Image Button
  The button is displayed as an image.

#### Button

When Button is selected as the button type, the following options are available. See the dialog.

Button Label

Specifies the properties of the button label.

- Text
  Specifies the text of the label.
- Font
  Specifies the font face of the text.
- Font Style
  Specifies the font style of the text.
- Font Size
  Specifies the font size of the text.
- Align
  Specifies the alignment way of the label in the button.
- Font Color
  Specifies the font color of the text.

Border

Specifies the properties of the button border.

- Color
  Specifies the border color.
- Thickness
  Specifies the border width.
- Top Line
  Specifies the style of the top border line.
- Bottom Line
  Specifies the style of the bottom border line.
- Left Line
  Specifies the style of the left border line.
- Right Line
  Specifies the style of the right border line.

Button Body

Specifies the properties of the button body.

- Background
  Specifies the background color of the button body.

  To change the color, click the color indicator to select a color, or click More Colors in the color indicator to access the Color Picker dialog in which you can select a color within a wider range or input a color string in the format #RRGGBB. If you want to make the background transparent, input Transparent in the text box.

- Width
  Specifies the width of the button.
- Height
  Specifies the height of the button.

Preview

Displays a preview of the button according to the button properties.

#### Image Button

When Button Image is selected as the button type, the following options are available. See the dialog.

Image From

Specifies the source of the image file.

- Local File
  Specifies to use an image from the local file system.
  - File Name
    Specifies the path and name of the image file. You can click the Browse button to locate the image file.
- Web URL
  Specifies to use an image via URL.
  - Image URL
    Specifies the URL of the image file. JReport will record the latest 10 entered URLs in the drop-down list.

  Note: If your JReport Server is in an intranet, to successfully access the image via URL, you need to add the parameters `-Dhttp.proxyHost=XXX -Dhttp.proxyPort=XX` to the server's startup file JRServer.bat, which locates in `<install_root>\bin`.

- Library
  Specifies to use an existing image.
  - My Images
    The My Images folder is a virtual location where JReport Server stores the images that have once been inserted into reports. Select the one you want to use.

Preview

Displays a preview of the selected image.

OK

Applies the button properties and closes this dialog.

Cancel

Cancels the changes and closes this dialog.

Displays the help document about this feature.

Ignores the setting and closes this dialog.