tvSetSelected: Difference between revisions

From Bohemia Interactive Community
m (Some wiki formatting)
mNo edit summary
 
Line 12: Line 12:
|p1= control: [[Control]]
|p1= control: [[Control]]


|p2= path: [[Array]]
|p2= path: [[Tree View Path]]


|p3= selected: [[Boolean]]
|p3= selected: [[Boolean]]

Latest revision as of 18:30, 2 April 2026

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: Tree View Path
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.
Only post proven facts here! Add Note