ListBox class/Selection Mode property

From LabVIEW Wiki
Jump to: navigation, search
VI Server Property Information
Property ID 6337403
Scope Basic Development Environment
Data Name Selection Mode
Short Name* SelMode
Long Name* Selection Mode
* Displayed here in English. Short and Long names appear in the language of the LabVIEW IDE.
Owning Class ID 12
Owning Class Name ListBox Class
Data Type I32 data type

I32

Property Node Selection Mode
Available in Real-Time Operating SystemYes
Available in Run-Time EngineYes
Loads the block diagram into memoryNo
Loads the front panel into memoryNo
Need to authenticate before useNo
PermissionsRead/Write
Remote access allowedYes
Settable when the VI is runningYes

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.


Uses

History

Version Change(s)
LabVIEW 2018 More info to come.

See Also

External Links