0 Votes

To replace a data object or a graphical element

Last modified by Claudia Bless on 2026/08/26 10:21

To replace a data object or a graphical element

A data object may be replaced, either with a new component or with the current clipboard content.

A graphical element (field, shape, text, control) may be replaced with a new element or with the current clipboard content.

To replace a component or element with a copy of another one,

  1. Copy a desired component or element to the clipboard.
  2. Select the component to be replaced and select Replace... from the shortcut menu.
  3. In the Replace selected object dialog select From clipboard. This choice will not be available if the replacing and replacement objects are incompatible.
  4. For data objects, make the desired selection for the check boxes "Keep user-defined values" and "Reset default values". See the table below.
    For graphical elements, check the box "Keep graphical attributes" to preserve the font, color and style of the replaced element.
  5. Click the OK button.

To replace a component or graphical element with a new one,

  1. Select the component or graphical element to be replaced and select Replace... from the shortcut menu.
  2. In the Replace selected object dialog, select With new object (may be shape, field, etc. instead of object).
  3. For data objects, make the desired choice for the check boxes "Keep user-defined values" and "Reset default values". See the table below.
    For graphical elements, check the box "Keep graphical attributes" to preserve the font, color and style of the replaced element.
  4. Click the OK button.
  5. From the Insert Object dialog, select the desired object and press OK.

dialog_replace_selected_object.gif

Replace selected object dialog

The last checkbox allows to keep the existing objects. Here the existing element is kept, and a new one is inserted (using the instructions above). The objects may overlap, which leads to errors. Therefore, check the position of the objects.

The replacement of a data object is in fact not a single operation, but many slightly different operations. Depending on what is required, select the values for the check boxes in the Replace selected object dialog:

Operation Keep user- defined values Reset default valuesKeep existing objects
Replace with exactly the other object Uncheck CheckUncheck
Change the type of the object, but keep all parameter values Check UncheckUncheck
Change the type of the object, but keep the parameter values explicitly assigned Check CheckUncheck
Add a new object with the same parametersCheckCheckCheck