31. replace-button
Prev | Chapter 5. Content objects | Next

## 31. replace-button

Inserts a command-button in generated content which can be used to replace the element for which the button has been generated.

Do not specify command, parameter or menu parameters for this type of command-button. A menu of `replace` commands is built dynamically each time this button is clicked.

By default, this button has its icon set to `icon(replace)`.

Example:

    replace-button()

Prev | Up | Next
30. remove-attribute-button | Home | 32. set-attribute-button