Selection Mode Property
Short Name: SelMode
Installed With: Base Package
Class: ListBox Properties
Number of items the user can select. Valid values include 0 (zero or one), 1 (one), 2 (zero or more), and 3 (one or more).
A single-selection listbox has a scalar data type, and a multiple-selection listbox has an array data type. If you set this property for a single-selection listbox to a value of 2 or 3, LabVIEW returns an error because LabVIEW cannot change the data type from scalar to array at run time.
This property is similar to the Selection Mode item on the shortcut menu of a listbox.
Remarks
The following table lists the characteristics of this property.
Available in Run-Time Engine and Real-Time Operating System | Yes |
Permissions | Read/Write |
Settable when the VI is running | Yes |
Loads the front panel into memory | No |
Need to authenticate before use | No |
Loads the block diagram into memory | No |
Remote access disallowed | No |
Must wait until user interface is idle | No |
Available with control VIs | No |
Available with global VIs | No |
Available with strict type definitions | No |
Available with polymorphic VIs | No |