Disabling or Enabling Listbox Items

You can disable or enable listbox items interactively or programmatically.

Right-click a listbox item and select Disable Item from the shortcut menu to interactively disable a listbox item. Right-click a listbox item and select Enable Item from the shortcut menu to interactively enable a disabled item.

Complete the following steps to programmatically disable listbox items.

  1. On the block diagram, right-click the listbox terminal.
  2. Select Create»Property Node from the shortcut menu.
  3. On the block diagram, right-click the Property Node.
  4. Select Properties»Disable Item from the shortcut menu.