tvSetValue: Difference between revisions

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


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


| '''tvSetValue''' [idc, [path], val] |= Syntax
| '''tvSetValue''' [idc, [path], val] |= Syntax


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


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


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


|p4= val: [[Number]] |= PARAMETER4
|p4= val: [[Number]] |= PARAMETER4


| [[Nothing]] |= RETURNVALUE  
| [[Nothing]] |= RETURNVALUE  




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


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


|  |= MPBEHAVIOUR  
|  |= MPBEHAVIOUR  

Revision as of 12:37, 12 April 2014

Hover & click on the images for description

Description

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

Syntax

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

Examples

Example 1:
tvSetValue [101, [0], 555];

Additional Information

See also:
tvAddtvCleartvCollapsetvCounttvCurSeltvDatatvDeletetvExpandtvPicturetvSetCurSeltvSetDatatvSetPicturetvSorttvSortByValuetvTexttvValue

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