Difference between revisions of "tvIsSelected"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "_{10,} " to "")
m (Text replacement - "\|game([0-9]) ?= (.+) \|version([0-9]) ?= (.+) " to "|game$1= $2 |version$3= $4 ")
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Command
+
{{RV|type=command
  
|game1= arma3dev |Game name=
+
|game1= arma3
 +
|version1= 2.02
  
|version= 2.01 |Game version=
+
|gr1= GUI Control - Tree View
  
|gr1= GUI Control - Tree View |GROUP1=
+
|descr= Returns true if given treeview item is selected.
  
|descr= Returns true if given treeview item is selected. |Description=
+
|s1= control [[tvIsSelected]] path
 
 
 
 
|s1= control [[tvIsSelected]] path |Syntax=
 
  
 
|p1= control: [[Control]]
 
|p1= control: [[Control]]
 
|p2= path: [[Array]]
 
|p2= path: [[Array]]
  
|r1= [[Boolean]] |Return Value=
+
|r1= [[Boolean]]
  
|x1= <code>_control [[tvIsSelected]] [0];</code> |Example 1=
+
|x1= <code>_control [[tvIsSelected]] [0];</code>
  
|seealso= [[tvSelection]] [[tvSetSelected]] |See Also=
+
|seealso= [[tvSelection]] [[tvSetSelected]]
 
}}
 
}}
 
<dl class="command_description">
 
<!-- BEGIN Note Section -->
 
 
<!-- END Note Section -->
 
</dl>
 
 
<h3 style="display:none">Bottom Section</h3>
 

Latest revision as of 16:02, 3 May 2021

Hover & click on the images for description

Description

Description:
Returns true if given treeview item is selected.
Groups:
GUI Control - Tree View

Syntax

Syntax:
control tvIsSelected path
Parameters:
control: Control
path: Array
Return Value:
Boolean

Examples

Example 1:
_control tvIsSelected [0];

Additional Information

See also:
tvSelection tvSetSelected

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