Usage and example
This example describes two reports. The first report is the main report from which you
open a dialog box. You can select a color, cancel, and change your selection in the dialog
box. The other report shows a list of colors to select and the modal buttons web extension to
cancel or save the selection.
To configure the modal buttons web extension, you must specify these parameters:
- Theme: Defines the color theme. You can specify "Vibrant" or "Subtle". "Subtle" is the default.
- Mode: Defines the color. You can specify "Light", "Dark", "High Contrast", and empty string value "". The empty string value equals the "Light" value.
- Item data: Refers to a range of
cells that contain data for button properties, or to a cell that contains
XML
file with the same data. The first column of the data range is reserved for the keys of items. In theXML
file, the keys are represented by rows.These item data properties are optional:
- Caption (string): Shows the button name.
- Enabled (boolean): If False, the item is disabled. True is the default.
- Style (string): Shows the primary or secondary button style.