tvSetValue: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " {{uc:{{PAGENAME}}}}" to "")
m (Text replacement - "\|( *\[\[[a-zA-Z]+\]\]) * \| *s2 *=" to "|r1=$1 |s2=")
Line 21: Line 21:
|p4= val: [[Number]]
|p4= val: [[Number]]


| [[Nothing]]
|r1= [[Nothing]]


| s2= ctrl [[tvSetValue]] [path, val]
|s2= ctrl [[tvSetValue]] [path, val]


|p21= ctrl: [[Control]]
|p21= ctrl: [[Control]]

Revision as of 15:35, 10 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
GUI Control - Tree View

Syntax

Syntax:
Syntax needed
Return Value:
Nothing

Alternative Syntax

Syntax:
ctrl tvSetValue [path, val]
Parameters:
ctrl: Control
path: Array of Numbers
val: Number
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