tvIsSelected: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "|Game version=" to "|Game version= |gr1= GUI Control |GROUP1= ") |
Lou Montana (talk | contribs) m (Text replacement - "<code>([a-zA-Z0-9_, ]+) +\[\[([a-zA-Z0-9_]+)\]\] +(\[[a-zA-Z0-9_, ]+\]);?<\/code>" to "<sqf>$1 $2 $3;</sqf>") |
||
(11 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{RV|type=command | ||
|game1= | |game1= arma3 | ||
|version1= 2.02 | |||
| | |gr1= GUI Control - Tree View | ||
| | |descr= Returns true if given treeview item is selected. | ||
|s1= control [[tvIsSelected]] path | |||
|s1= control [[tvIsSelected]] path | |||
|p1= control: [[Control]] | |p1= control: [[Control]] | ||
|p2= path: [[Array]] | |p2= path: [[Array]] | ||
|r1= [[Boolean]] | |r1= [[Boolean]] | ||
|x1= < | |x1= <sqf>_control tvIsSelected [0];</sqf> | ||
|seealso= | |seealso= [[tvSelection]] [[tvSetSelected]] | ||
}} | }} | ||
Latest revision as of 13:23, 5 May 2022
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