tvIsSelected: Difference between revisions

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 (Text replacement - "<code>([a-zA-Z0-9_, ]+) +\[\[([a-zA-Z0-9_]+)\]\] +(\[[a-zA-Z0-9_, ]+\]);?<\/code>" to "<sqf>$1 $2 $3;</sqf>")
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:


|game1= arma3
|game1= arma3
|version1= 2.02
|version1= 2.02


Line 16: Line 15:
|r1= [[Boolean]]
|r1= [[Boolean]]


|x1= <code>_control [[tvIsSelected]] [0];</code>
|x1= <sqf>_control tvIsSelected [0];</sqf>


|seealso= [[tvSelection]] [[tvSetSelected]]
|seealso= [[tvSelection]] [[tvSetSelected]]
}}
}}

Latest revision as of 14:23, 5 May 2022

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