tvSetSelected: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|version=" to "|version1=")
m (Text replacement - "\|game([0-9]) ?= (.+) \|version([0-9]) ?= (.+) " to "|game$1= $2 |version$3= $4 ")
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


|game1= arma3dev
|game1= arma3
 
|version1= 2.02
|version1= 2.01


|gr1= GUI Control - Tree View
|gr1= GUI Control - Tree View
Line 21: Line 20:
|seealso= [[tvSelection]] [[tvIsSelected]]
|seealso= [[tvSelection]] [[tvIsSelected]]
}}
}}
<dl class="command_description">
<!-- BEGIN Note Section -->
<!-- END Note Section -->
</dl>

Revision as of 17:03, 3 May 2021

Hover & click on the images for description

Description

Description:
Sets the selection state of given treeview item in multi-select control.
Groups:
GUI Control - Tree View

Syntax

Syntax:
control tvSetSelected [path, selected]
Parameters:
control: Control
path: Array
selected: Boolean
Return Value:
Nothing

Examples

Example 1:
_control tvSetSelected [[0], true];

Additional Information

See also:
tvSelection tvIsSelected

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note