tvSetSelected: Difference between revisions
Lou Montana (talk | contribs) m (Text replacement - " <h3 style="display:none">Bottom Section</h3>" to "") |
BrettMayson (talk | contribs) mNo edit summary |
||
| (6 intermediate revisions by one other user not shown) | |||
| Line 1: | Line 1: | ||
{{ | {{RV|type=command | ||
|game1= | |game1= arma3 | ||
|version1= 2.02 | |||
| | |||
|gr1= GUI Control - Tree View | |gr1= GUI Control - Tree View | ||
| Line 12: | Line 11: | ||
|p1= control: [[Control]] | |p1= control: [[Control]] | ||
|p2= path: [[ | |||
|p2= path: [[Tree View Path]] | |||
|p3= selected: [[Boolean]] | |p3= selected: [[Boolean]] | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
|x1= < | |x1= <sqf>_control tvSetSelected [[0], true];</sqf> | ||
|seealso= [[tvSelection]] [[tvIsSelected]] | |seealso= [[tvSelection]] [[tvIsSelected]] | ||
}} | }} | ||
Latest revision as of 18:30, 2 April 2026
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:
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