Filter control

The properties of a filter control are:

Property Name Description
Geometry
Height Specifies the height of the object, in inches or centimeters. Enter a numeric value to change the height.

Data type: Float

Width Specifies the width of the object, in inches or centimeters. Enter a numeric value to change the width.

Data type: Float

Color
Background Specifies the background color of the object. Choose a color from the drop-down list, enter a hexadecimal RGB value (e.g. 0xff0000), choose a formula that returns a color, or select Custom from the drop-down list to specify the color.

Data type: String

Foreground Specifies the foreground color of the object. Choose a color from the drop-down list, enter a hexadecimal RGB value (e.g. 0xff0000), choose a formula that returns a color, or select Custom from the drop-down list to specify the color.

Data type: String

CSS
Class Specifies a CSS class to be applied to the object which is a valid class in the CSS file.

Data type: String

ID Specifies the identifier of the object, which must be unique in the report. The ID property can be a style sheet selector.

Data type: String

Style The property can be used in two ways.
  • Specifies a style to be applied to the object. Choose a style from the drop-down list which is available when a Style Group has been selected at the report tab level and when there are styles in the Style Group that can be applied to the object, or type in the style name.
  • Specifies a CSS selector to be applied to the object. Enter a valid class name from the CSS file.

Data type: String

Others
Invisible Specifies whether to show the object in the design area and in the report results. All formulas and calculations will still be performed if the property is set to true.

Data type: Boolean

Border
Border Color Specifies the color of the border of the object. Choose a color from the drop-down list, enter a hexadecimal RGB value (0xCCAA00), choose a formula that returns a color, or select Custom from the drop-down list to specify the color.

Data type: String

Border Thickness Specifies the width of the border in inches or centimeters. Enter a numeric value to change the thickness.

Data type: Float

Bottom Line Specifies the line style of the bottom border of the object. Choose a style from the drop-down list.

Data type: Enumeration

Left Line Specifies the line style of the left border of the object. Choose a style from the drop-down list.

Data type: Enumeration

Right Line Specifies the line style of the right border of the object. Choose a style from the drop-down list.

Data type: Enumeration

Top Line Specifies the line style of the top border of the object. Choose a style from the drop-down list.

Data type: Enumeration

Title
Background Specifies the background color of the title bar. Choose a color from the drop-down list, enter a hexadecimal RGB value (e.g. 0xff0000), choose a formula that returns a color, or select Custom from the drop-down list to specify the color.

Data type: String

Bold Specifies whether to make the text bold in the title bar.

Data type: Boolean

Font Face Specifies the font of the text in the title bar. Choose an option from the drop-down list.

Data type: Enumeration

Font Size Specifies the font size of the text in the title bar. Enter an integer value to change the size.

Data type: Integer

Foreground Specifies the foreground color of the title bar. Choose a color from the drop-down list, enter a hexadecimal RGB value (e.g. 0xff0000), choose a formula that returns a color, or select Custom from the drop-down list to specify the color.

Data type: String

Horizontal Alignment Specifies the horizontal justification of the text in the title bar. Choose an option from the drop-down list.

Data type: Enumeration

Italic Specifies whether to make the text italic in the title bar.

Data type: Boolean

Map Name Specifies whether to use the name of the DBField added to the filter contorl as the text displayed in the title bar.

Data type: Boolean

Show Title Specifies whether to show the title bar. It is meanful to set all the other properties in the Title category when this property is set to true.

Data type: Boolean

Text Specifies the text displayed in the title bar. This property can be edited only when Map Name is set to false. Enter a string to change the text.

Data type: String

Underline Specifies whether to underline the text in the title bar.

Data type: Boolean

Text Format
Bold Specifies whether to make the text bold.

Data type: Boolean

Font Face Specifies the font of the text. Choose an option from the drop-down list.

Data type: Enumeration

Font Size Specifies the font size of the text. Enter an integer value to change the size.

Data type: Integer

Format Specifies the display format of the text in the report result. It varies with data type and can be manually defined.

Data type: String

Note: For the BigDecimal type, to avoid precision loss, you should enter a prefix JRD when setting the format property value.

Italic Specifies whether to make the text italic.

Data type: Boolean

Underline Specifies whether to underline the text.

Data type: Boolean