|
|
|
|
|
- Overview
- Description window of report controls
- Characteristics by tab
- Main print parameters of report controls
- Using the "Modifier" pane
- Overview
- Changing the control caption
- Changing the control name
Modifying the characteristics of report controls
The characteristics of the controls can be viewed and/or changed in: The report editor also allows you to: - modify the control caption.
- modify the control name.
Description window of report controls To open the description window of a control, use one of the following methods: - double-click the control (recommended).
- right-click to open the context menu of the control and select "Description".
- select the control, go to the "Modificación" tab and click the dialog box launcher
of the "Quick edit" group (Alt + Enter). - on the "Vista" tab, click the dialog box launcher
of the "Options" group (F12). Then, select the control and click the "Description" button.
Note: You can open a description window for a selection of controls. Only the characteristics common to the selected controls will be displayed. Characteristics by tab The description window shows the characteristics of the selected control(s) in different tabs: | | Tab | Characteristics |
---|
General | Allows you to specify the name and the display options of the control. For example:- the control caption (this caption can be multilingual).
- the type of information displayed in the control (text, numeric, etc.).
- the display mask used for the control (the mask can be multilingual). For more details, see the Different display masks.
- the image displayed in an Image control, the type of bar code used in a Bar Code control, the type of chart used in a Chart control, etc. For more details, see the online help of the desired type of control.
| UI | Used to define:- the print parameters of control (visible, breakable, ...). For more details, see Print parameters of report controls.
- the control size.
- the control position in the report and in the block to which the control belongs.
- the control anchoring.
- the associated group of controls.
- the associated plane.
| Link | Used to define the item or the variable found in the data source to which the control is linked. The value of this item or variable will be displayed in the control. To bind the control to an item or variable from the data source of the report, select the item directly from the "Bound item or variable:" list. To link the control with a field not belonging to the report data source, select the "Multi data file" option, then select the field linked to the current control. | Note | Allows you to describe the detailed operating mode of the control. This information will be printed in the technical documentation ( icon on the "General" tab, "Inicio" group).This information can be get and set programmatically using the Note and NoteTitle properties. | Style | Used to define:- the style of the control (background color, border, etc.).
- the font used in the control.
Note: You can also define the font used in the control via the icons in the "Quick edit" group of the "Modification" tab. | Note: All options in the description windows feature comprehensive tooltips with brief explanations, but also with the corresponding WLanguage properties, availability by platform, multilingual values, etc.Main print parameters of report controls The print parameters of a control are as follows (defined in the "UI" tab of the description window): | | | Parameter | Description | Available for the following controls |
---|
Visible | The control can be displayed or hidden. This characteristic can be modified programmatically with the Visible property. | Static Text, Item, Calculated control, Image, Bar code, RTF control, Preset control, Chart, Shape, Internal Report control | Auto-resizing | The control size defined in the report editor can be enlarged according to the control content. The controls that follow the "auto-resizing" control will be moved automatically. Remarks:- If a control is not an auto-resizing control, its content can be truncated if the control size is too small.
To get the height of an auto-resizing control when enlarged, use the FutureHeight property. - If a control in a block is auto-resizing, the associated block will automatically be auto-resizing. A block containing auto-resizing controls is auto-resizing. A block containing no auto-resizing control is not auto-resizing.
- The controls in a page footer cannot automatically resize themselves.
Limitation: In a report in Label mode, controls cannot automatically resize themselves. | Static Text, Item, Calculated control, Shape, Bar code, Internal Report control | Multiline | The control content can be displayed over several lines. This characteristic can be modified programmatically with the Multiline property. Remarks:- The control height must be sufficient to display several lines.
- To modify the control height through programming, use Height.
- If an orientation angle is applied to a multiline control, the automatic carriage returns are ignored. Only manual carriage returns are taken into account.
| Static Text, Item, Calculated control, Preset control | Breakable | The content of a breakable control can be printed over several pages if there is not enough space to print the entire control on a page. Remarks:- In order for a control to be a breakable control, the block containing the control must also be breakable.
- If there is not enough space on the current page to print a non-breakable control, the entire control will be printed on the next page.
| Static Text, Item, Calculated control, Image, Bar code, RTF control, Preset control, Chart, Shape | En blanco si es cero | The control value is displayed only if the control value differs from 0. If the control value is equal to 0, the control displays an empty string (""). | Static Text, Item | Elipsis (truncar texto largo con '...') | Ellipses are used to indicate that a text is too long. The following characters are added to the text: "...". These characters can be added at the end or in the middle of the text (recommended for file paths). | Item, Calculated control | Displayed when the value changes | The control value is displayed only if the value of linked item changes when going to the next record in the data source of report. | Item, Calculated control | Reset to 0 after print | The control value is automatically reset to 0 once it was printed. This parameter is often used for the calculations on break. | Calculated control | RTF | The control value can be in RTF. Reminder: RTF takes into account the character attributes (bold, italic, underlined, etc.) of a text. | Static Text, Item, RTF control | Utilizar información compartida en ejecución | The control will display the "shared information" of the item linked to the control (and not the index corresponding to this "shared information"). For example, the "RAD info" of the "Title" item corresponds to the following combo box: Only the indexes of "Shared Info" are stored in the database. | Item | Horizontal/Vertical gridlines | The horizontal and/or vertical gridlines can be displayed (or not) in a chart. | Chart |
Using the "Modifier" pane Overview The "Modifier" pane allows you to you view and/or change the main characteristics of: - the selected controls.
- the selected report or block.
Changing the control caption To change the caption of a control in the current report: - Select the control you want modify.
- Click the control again or press Enter. The mouse cursor turns into an input cursor.
- Enter the new text.
- Confirm by pressing the Enter key.
Changing the control name The name of a control can be modified from the status bar of the report editor. To change the control name: - Select the control you want modify.
- Type the new control name in the status bar.
Esta página también está disponible para…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|