tvIsSelected: 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 (Text replacement - "<code>([a-zA-Z0-9_, ]+) +\[\[([a-zA-Z0-9_]+)\]\] +(\[[a-zA-Z0-9_, ]+\]);?<\/code>" to "<sqf>$1 $2 $3;</sqf>")
 
Line 15: 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 13: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