tvSetSelected: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "|Game version=" to "|Game version= |gr1= GUI Control |GROUP1= ") |
Lou Montana (talk | contribs) m (Text replacement - "\|game([0-9]) ?= (.+) \|version([0-9]) ?= (.+) " to "|game$1= $2 |version$3= $4 ") |
||
(10 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{RV|type=command | ||
|game1= | |game1= arma3 | ||
|version1= 2.02 | |||
| | |gr1= GUI Control - Tree View | ||
| | |descr= Sets the selection state of given treeview item in multi-select control. | ||
|s1= control [[tvSetSelected]] [path, selected] | |||
|s1= control [[tvSetSelected]] [path, selected] | |||
|p1= control: [[Control]] | |p1= control: [[Control]] | ||
Line 23: | Line 14: | ||
|p3= selected: [[Boolean]] | |p3= selected: [[Boolean]] | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
|x1= <code>_control [[tvSetSelected]] <nowiki>[[</nowiki>0], [[true]]]</code> | |x1= <code>_control [[tvSetSelected]] <nowiki>[[</nowiki>0], [[true]]];</code> | ||
|seealso= | |seealso= [[tvSelection]] [[tvIsSelected]] | ||
}} | }} | ||
Revision as of 17:03, 3 May 2021
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