Difference between revisions of "tvSelection"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <h3 style="display:none">Bottom Section</h3>" to "")
m (Some wiki formatting)
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Command
+
{{RV|type=command
  
|game1= arma3dev
+
|game1= arma3
 
+
|version1= 2.02
|version= 2.01
 
  
 
|gr1= GUI Control - Tree View
 
|gr1= GUI Control - Tree View
  
 
|descr= Returns array of paths to selected items.
 
|descr= Returns array of paths to selected items.
 
|mp= |Multiplayer Behaviour=
 
 
|pr= |Problems=
 
  
 
|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]]
 
}}
 
}}
 
<dl class="command_description">
 
<!-- BEGIN Note Section -->
 
 
<!-- END Note Section -->
 
</dl>
 

Latest revision as of 15: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