tvSelection: Difference between revisions

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


|descr= Returns array of paths to selected items.
|descr= Returns array of paths to selected items.
|mp=
|pr=


|s1= [[tvSelection]] control
|s1= [[tvSelection]] control
Line 18: Line 14:
|r1= [[Array]]
|r1= [[Array]]


|x1= <code>_selection = [[tvSelection]] _ctrlTV;</code>
|x1= <sqf>private _selection = tvSelection _ctrlTV;</sqf>


|seealso= [[tvSetSelected]] [[tvIsSelected]]
|seealso= [[tvSetSelected]] [[tvIsSelected]]
}}
}}

Latest revision as of 14:18, 5 May 2022

Hover & click on the images for description

Description

Description:
Returns array of paths to selected items.
Groups:
GUI Control - Tree View

Syntax

Syntax:
tvSelection control
Parameters:
control: Control
Return Value:
Array

Examples

Example 1:
private _selection = tvSelection _ctrlTV;

Additional Information

See also:
tvSetSelected 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