tvCurSel: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (<code> tickle)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Returns path to currently selected item. IDC means id of parent Tree View. |= Description
| Returns path to currently selected item. IDC means id of parent Tree View. |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''tvCurSel''' idc |= Syntax
| '''tvCurSel''' idc |= Syntax


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


| [[Array]] |= RETURNVALUE  
| [[Array]] |= RETURNVALUE  




|x1= <code>tvCurSel 101</code>|= EXAMPLE1
|x1= <code>[[tvCurSel]] 101;</code> |= Example 1
 
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[tvAdd]], [[tvClear]], [[tvCollapse]], [[tvCount]], [[tvData]], [[tvDelete]], [[tvExpand]], [[tvPicture]], [[tvSetCurSel]], [[tvSetData]], [[tvSetPicture]], [[tvSetValue]], [[tvSort]], [[tvSortByValue]], [[tvText]], [[tvValue]] |= SEEALSO
| [[tvAdd]], [[tvClear]], [[tvCollapse]], [[tvCount]], [[tvData]], [[tvDelete]], [[tvExpand]], [[tvPicture]], [[tvSetCurSel]], [[tvSetData]], [[tvSetPicture]], [[tvSetValue]], [[tvSort]], [[tvSortByValue]], [[tvText]], [[tvValue]] |= See Also


|  |= MPBEHAVIOUR  
|  |= MPBEHAVIOUR  

Revision as of 12:35, 12 April 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

Examples

Example 1:
tvCurSel 101;

Additional Information

See also:
tvAddtvCleartvCollapsetvCounttvDatatvDeletetvExpandtvPicturetvSetCurSeltvSetDatatvSetPicturetvSetValuetvSorttvSortByValuetvTexttvValue

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