tvCurSel: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (al & el)
(syntax & example)
Line 14: Line 14:
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''tvCurSel''' idc |= Syntax
| [[tvCurSel]] idc |= Syntax


|p1= idc: [[Number]] |= PARAMETER1  
|p1= idc: [[Number]] |= PARAMETER1  


| [[Array]] |= RETURNVALUE  
| [[Array]] |= RETURNVALUE  
____________________________________________________________________________________________
| s2= [[tvCurSel]] _ctrl |= Syntax


| p21= _ctrl: [[Control]] |= PARAMETER1
| [[Array]] |= RETURNVALUE
____________________________________________________________________________________________


|x1= <code>[[tvCurSel]] 101;</code> |= Example 1
|x1= <code>[[tvCurSel]] 101;</code> |= Example 1
|x2= <code>[[tvCurSel]] _ctrl;</code> |= Example 2
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 08:43, 11 September 2014

Hover & click on the images for description

Description

Description:
Returns path to currently selected item. IDC means id of parent Tree View.
Groups:
Uncategorised

Syntax

Syntax:
tvCurSel idc
Parameters:
idc: Number
Return Value:
Array

Alternative Syntax

Syntax:
tvCurSel _ctrl
Parameters:
_ctrl: Control
Return Value:
Nothing

Examples

Example 1:
tvCurSel 101;
Example 2:
tvCurSel _ctrl;

Additional Information

See also:
Array

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

Notes

Bottom Section