Setting the Number of Items You Can Select in Listboxes and Tree Controls at Run Time

Complete the following steps to specify how many items you can select in a listbox or tree control at run time.

  1. In the front panel window, right-click the listbox or tree control.
  2. Select Selection Mode from the shortcut menu and select from the following options:

You also can use the Selection Mode property to set the number of items you can select in a listbox or tree control programmatically.

In tree controls, you also can limit the selection of multiple items to siblings.

Right-click a listbox or tree control and select Selection Mode»Highlight Entire Row from the shortcut menu to highlight the entire row when you select an item.