tvSetValue: Difference between revisions

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


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


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


| [[Nothing]] |= RETURNVALUE  
| [[Nothing]] |= RETURNVALUE  
____________________________________________________________________________________________
| s2= _ctrl [[tvSetValue]] [ [path], val] |= Syntax


| p21= _ctrl: [[Control]] |= PARAMETER1
| p22= [ [path], val]: [[Array]] |= PARAMETER2
| r2= [[Nothing]] |= RETURNVALUE
____________________________________________________________________________________________


|x1= <code>[[tvSetValue]] [101, [0], 555];</code> |= Example 1
|x1= <code>[[tvSetValue]] [101, [0], 555];</code> |= Example 1
|x2= <code>_ctrl [[tvSetValue]] [ [0,0,0], 14];</code> |= Example 2
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 09:59, 11 September 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

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