TreeControl class/Selection Mode property

From LabVIEW Wiki
Jump to: navigation, search
VI Server Property Information
Property ID 756A3C0C
Scope Basic Development Environment
Data Name SelMode
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 66
Owning Class Name TreeControl Class
Data Type I32 data type


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
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 tree control has a scalar data type, and a multiple-selection tree control has an array data type. If you set this property for a single-selection tree control 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 tree control.



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

See Also

External Links