### Parameter Field Properties dialog

This dialog contains five tabs as listed below. Specify the settings in each tab to suit your requirements.

- General tab
- Font tab
- Border tab
- Others tab
- Display tab

OK

Applies the settings and closes this dialog.

Cancel

Cancels the settings and closes this dialog.

Help

Displays this help document.

#### General tab

This tab shows some general information of the parameter field. See the tab.

Name

Specifies the display name of the parameter field, which will be shown on the shortcut menu of the parameter.

Position

Specifies the position mode of the parameter field. If the parameter field is directly contained in the report body, a tabular cell, or a text box, its position mode can be modified.

- Absolute: The parameter field's position will be decided by its X and Y property values.
- Static: The parameter field will be positioned at the default location in its container.
- Relative: The parameter field will be positioned according to its default location and the X and Y property values.

Format

Specifies the data format of the parameter field.

X

Specifies the X coordinate of the parameter field.

Y

Specifies the Y coordinate of the parameter field.

Width

Specifies the width of the parameter field.

Height

Specifies the height of the parameter field.

Background

Specifies the background color of the parameter field.

To change the color, click the color indicator to access the Select Color dialog, and then specify a new color, or input a color string in the format #RRGGBB. If you want to make the background transparent, input Transparent in the text box.

Foreground

Specifies the foreground color of the parameter field.

To change the color, click the color indicator to access the Select Color dialog and then specify a new color, or input a color string in the text box.

#### Font tab

This tab shows the font-related information of the parameter field. See the tab.

Font

Specifies the font face of the field text.

Size

Specifies the font size of the field text.

Horizontal Alignment

Specifies the horizontal alignment mode of the text in the parameter field.

Vertical Alignment

Specifies the vertical alignment mode of the text in the parameter field.

Bold

Specifies whether to make the field text bold or not.

Underline

Specifies whether the field text will be underlined or not.

Strikethrough

Specifies whether or not to attach a strikeout line to the field text.

Italic

Specifies whether to make the field text italic or not.

Autofit

Specifies whether or not to automatically adjust the width of the parameter field.

Word Wrap

Specifies whether or not to wrap the text to the parameter field width.

Ignore HTML Tag

If this option is set to false (unchecked), JReport Web will parse HTML tag elements in the field value while the report set is to be saved as an HTML file; or the field value will appear in the HTML file the same as that in JReport Web (HTML tag elements in the field value, if any, will not be parsed).

#### Border tab

This tab shows information about borders of the parameter field. See the tab.

Color

Specifies the border color.

Width

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.

Shadow

Specifies whether the borders will have a shadow effect or not.

Shadow Color

Specifies the color of the border shadow.

#### Others tab

You can use this tab to view and configure some miscellaneous settings. See the tab.

TOC Anchor

Specifies whether or not to add the node that represents the parameter field to the TOC tree that is displayed in the TOC Browser.

Suppress When No Records

If true (checked) and no records are returned by the report, the parameter field will not be displayed.

Export to XLS

If true (checked), the parameter field will be exported when you save the report result as an XLS file (make sure to check Excel 2000 in the Export dialog).

Export to CSV

If true (checked), the parameter field will be exported when you save the report result as a TXT file with Standard Data Format selected.

#### Display tab

For a parameter field, you can change its display type to one of the following: Text, Rank, Image, Barcode, Text Field, Hidden Field, Text Area, Checkbox, Radio Button, List, Drop-down List, Image Button, Button, Submit, Reset and Hidden.

##### List

Specifies to display the parameter field as list. See the tab.

Name

Specifies the name of the list.

Title

Specifies the title of the list.

Selected

Specifies the item to be selected.

Allow Multiple

Specifies whether or not to allow multiple items to be selected.

Disabled

Specifies whether or not to make the list disabled.

##### Drop-down List

Specifies to display the parameter field as drop-down list. See the tab.

Name

Specifies the name of the drop-down list.

Title

Specifies the title of the drop-down list.

Selected

Specifies the item to be selected.

Disabled

Specifies whether or not to make the drop-down list disabled.

Note: For the rest display types, see the Data Field Properties dialog.