tvValue: Difference between revisions

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


| Returns scalar data from item on given path. IDC means id of parent Tree View. |= Description
| Returns scalar data from item on given path. IDC means id of parent Tree View. |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''tvValue''' [idc, [path]] |= Syntax
| '''tvValue''' [idc, [path]] |= Syntax


|p1= [idc, [path]]: [[Array]] |= PARAMETER1  
|p1= [idc, [path]]: [[Array]] |= PARAMETER1  


|p2= idc: [[Number]] |= PARAMETER2  
|p2= idc: [[Number]] |= PARAMETER2  


|p3= [path]: [[Array]] - Array containing numbers. |= PARAMETER3  
|p3= [path]: [[Array]] - Array containing numbers. |= PARAMETER3  
Line 21: Line 21:




|x1= <code>tvValue [101, [0]]</code>|= EXAMPLE1
|x1= <code>[[tvValue]] [101, [0]];</code> |= Example 1
 
____________________________________________________________________________________________
____________________________________________________________________________________________


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


|  |= MPBEHAVIOUR  
|  |= MPBEHAVIOUR  

Revision as of 12:39, 12 April 2014

Hover & click on the images for description

Description

Description:
Returns scalar data from item on given path. IDC means id of parent Tree View.
Groups:
Uncategorised

Syntax

Syntax:
tvValue [idc, [path]]
Parameters:
[idc, [path]]: Array
idc: Number
[path]: Array - Array containing numbers.
Return Value:
Number

Examples

Example 1:
tvValue [101, [0]];

Additional Information

See also:
tvAddtvCleartvCollapsetvCounttvCurSeltvDatatvDeletetvExpandtvPicturetvSetCurSeltvSetDatatvSetPicturetvSetValuetvSorttvSortByValuetvText

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