tvSetValue

From Bohemia Interactive Community
Revision as of 08:59, 11 September 2014 by Ffur2007slx2 5 (talk | contribs) (syntax & example)
Jump to navigation Jump to search
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

Alternative Syntax

Syntax:
_ctrl tvSetValue [ [path], val]
Parameters:
_ctrl: Control
[ [path], val]: Array
Return Value:
Nothing

Examples

Example 1:
tvSetValue [101, [0], 555];
Example 2:
_ctrl tvSetValue [ [0,0,0], 14];

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