Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Electrical

Check Box

  • Last UpdatedMar 30, 2022
  • 5 minute read

The Check Box control is used to indicate True/False or Checked/Unchecked/Indeterminate states in a report, by displaying a check mark and adjacent text.

In the Property Grid, the Check Box control's properties are divided into the following groups:

Appearance

Background Color

Specifies the background colour for the controls contained within the band. This option is also available on the Formatting Toolbar ()..

Border Color, Border Dash Style, Border Width and Borders

Specifies border settings for controls.

Font

Specifies the font settings for the controls contained within the band. Some of these settings are available on the Formatting Toolbar.

Foreground Color

Specifies the text colour for the controls contained within the band. This option is also available on the Formatting Toolbar ().

Formatting Rules

Displays the Formatting Rules Editor which enables users to choose which rules should be applied to the band during report generation, and define the precedence of the applied rules. For further information, refer to Conditionally Change a Control's Appearance.

Padding

Specifies indent values used to render the contents of the controls.

Style Priority

Defines the priority of various styles (for example, background colour or border colour). For further information on style inheritance, refer to Styles Concepts.

Styles

Defines odd and even styles for the controls, as well as assigning an existing style to the them (or a newly created one). For further information on style inheritance, refer to Styles Concepts.

Text Alignment

Changes the alignment of report control text. The functionality is also available on the Report Designer tab.

Behaviour

Anchor Vertically

Specifies the vertical anchoring style of the control, so that after page rendering it stays attached to the top control, bottom control, or both. The property setting is useful for data-bound controls located between upper and lower controls, which are able to resize depending on their contents.

Keep Together

Specifies whether the contents of the band can be horizontally split across pages. Reporting attempts to keep band entries on a single page. In general, if the contents are too large to fit on a single page, then the band is started on a new page, and continues on the following page.

Scripts

Contains events which can be handled with scripts. For further information on scripting, refer to Handle Events via Scripts.

Visible

Specifies whether the band is visible when using the print preview.

Word Wrap

If the check box is selected, text entered into the multiline control is wrapped to the next line if it does not fit in the control or is interrupted by a newline character. If the check box is not selected, text entered into the multiline control is displayed on the same line except when forced onto a new line by a newline character.

Data

(Data Bindings)

If the current report is bound to data, the property is used to bind control properties (Bookmark, Navigation URL, Tag and Text) to a data field obtained from the report data source, and to apply a format string. For further information, refer to Display Values from a Database (Bind Report Elements to Data).

Check State

Specifies the Checked/Unchecked/Indeterminate state of a Check Box (the Indeterminate state is displayed as a greyed out check box.) Note that if only Checked and Unchecked states are to be used, use the Checked property.

Checked

This property is used to define whether a Check Box is checked or not.

Tag

Adds additional information to a report, for example, the id, by which the report can then be accessible via scripts.

If the current report has a data source, the Tag property can be bound to a data field obtained from the data source. To do this, expand the (Data Bindings) property and from the Tag.Binding dropdown list, select the required data field.

Text

Used to define a line of static text to be displayed.

Note:
That when a Check Box is selected in the designer, a user may start typing the text, and it will be automatically entered into the in-place editor.

If the current report has a data source, the Text property can be bound to a data field obtained from the data source. To do this, expand the (Data Bindings) property, and from the Text.Binding dropdown list, select the required data field. For further information, refer to Display Values from a Database (Bind Report Elements to Data).

Xlsx Format String

Specifies the Excel format for the control when exported to an Excel file.

Design

(Name)

Determines a control's name, by which it can be accessed in the Report Explorer, Property Grid or by scripts.

Layout

Location

Specifies the location of the control in report measurement units.

Size

Specifies the size of the control in report measurement units.

Snap Line Margin

Specifies the margins for the control, which are maintained when the control is aligned using snap lines.

Navigation

Bookmark and Parent Bookmark

These properties are used to create a hierarchical structure within a report called a document map.

If the current report has a data source, the Bookmark property can be bound to a data field, obtained from the data source. To do this, expand the Data > Data Bindings drop-down list and select the required data field. For further information, refer to Add Bookmarks.

Navigation URL and Navigation Target

Use the Navigation URL property to specify a URL for web browser navigation when the control is clicked. The web browser displays a page in a window or a frame as specified in the Navigation Target property.

Note:
A URL must have an appropriate prefix for example, 'http://'). Cross-references can be created within the report by assigning the name of the target control to the Navigation URL property, and setting the Navigation Target property to ‘_self'.

If the current report has a data source, the Navigation URL property can be bound to a data field obtained from the data source. To do this, expand the Data > Data Bindings drop-down list and select the required data field.

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in