tvIsSelected: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <dl class="command_description"> <!-- BEGIN Note Section --> <!-- END Note Section --> </dl>" to "")
m (Text replacement - "<code>([a-zA-Z0-9_, ]+) +\[\[([a-zA-Z0-9_]+)\]\] +(\[[a-zA-Z0-9_, ]+\]);?<\/code>" to "<sqf>$1 $2 $3;</sqf>")
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


|game1= arma3dev
|game1= arma3
 
|version1= 2.02
|version1= 2.01


|gr1= GUI Control - Tree View
|gr1= GUI Control - Tree View
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