Difference between revisions of "tvSelection"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " |game1= arma3dev |version1= 2.01" to " |game1= arma3 |version1= 2.02")
m (Some wiki formatting)
 
(3 intermediate revisions by the same user not shown)
Line 2: Line 2:
  
 
|game1= arma3
 
|game1= arma3
 
 
|version1= 2.02
 
|version1= 2.02
  
Line 8: 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 19: 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