NJX:BUTTONITEMLIST

#### Search Results

Search

# NJX:BUTTONITEMLIST

The NJX:BUTTONITEMLIST control is used to arrange buttons in a horizontal line. In contrast to the NJX:BUTTONITEMLISTFIX control, the number of buttons in an NJX:BUTTONITEMLIST control can be changed dynamically (up to an upper limit defined at design time), but the layout of the buttons cannot be configured individually. Instead, all buttons in the list are configured with the same layout.

The following topics are covered below:

- Example

- Adapter Interface

- Built-in Events

- Properties

## Example

The XML code for the example looks as follows:

    <rowarea name="Dynamic Buttonlist">
        <itr>
            <njx:buttonitemlist buttonlistprop="dynbuttons"
            buttoncount="10" hdist="10">
                <njx:buttonitem width="100">
                </njx:buttonitem>
            </njx:buttonitemlist>
        </itr>
    </rowarea>

## Adapter Interface

    1 DYNBUTTONS (1:*)
    2 METHOD (A) DYNAMIC
    2 NAME (A) DYNAMIC
    2 TITLE (A) DYNAMIC
    2 VISIBLE (L)

## Built-in Events

The buttons in the NJX:BUTTONITEMLIST control (NJX:BUTTONITEM controls) behave like BUTTON controls.

## Properties

Basic
buttoncount | Maximum count of buttons in the buttonlist. If no buttoncount is defined then a default of 10 is assigned. | Optional |
hdist | Horizontal distance between the buttons. Can be specified either in pixels or as percentage value. If no width is defined then a default width of 2 pixels is assigned. | Optional |

### On this page

- Example
- Adapter Interface
- Built-in Events
- Properties