TreeControl class/Edit Tree Items.Set Tag method

From LabVIEW Wiki
Jump to: navigation, search
VI Server Method Information
Method ID 756A380E
Scope Basic Development Environment
Data Name Edit Tree Items.Set Tag
Short Name* Edit Tree Items.Set Tag
Long Name* Edit Tree Items:Set Tag
* 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
Return Data Type String data type

String

Invoke Node Edit Tree Items:Set Tag
Available in Real-Time Operating SystemYes
Available in Run-Time EngineYes (Read/Write)
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

Sets the unique tag of a tree control item, which you use to modify the item or to gather information about the item programmatically.

You cannot create a tag that begins with TREE_. All tags that begin with TREE_ are reserved for use by LabVIEW. If the tag you wire to the method begins with TREE_, LabVIEW prepends an underscore (_) to create a valid tag for the item. If the tag you wire to the method begins or ends with white space, LabVIEW removes the white space.

This method is similar to the Tag text box in the Edit Tree Items dialog box.

Parameters

Data type Name Required Description
String Edit Tree Items:Set Tag Yes. Return value.
String tag Yes Current tag of the tree control item whose tag you want to set.
String new tag Yes The tag you want to use for the tree control item.

Uses

History

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

See Also

External Links