tvSetData: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ |()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
m (Text replacement - "\|( *\[\[[a-zA-Z]+\]\]) * \| *s2 *=" to "|r1=$1 |s2=")
Line 21: Line 21:
|p3= data: [[String]]
|p3= data: [[String]]


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


|s2= ctrl [[tvSetData]] [path, data]
|s2= ctrl [[tvSetData]] [path, data]

Revision as of 16:34, 10 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
GUI Control - Tree View

Syntax

Syntax:
Syntax needed
Parameters:
idc: Number
path: Array of Numbers
data: String
Return Value:
Nothing

Alternative Syntax

Syntax:
ctrl tvSetData [path, data]
Parameters:
ctrl: Control
path: Array of Numbers
data: String
Return Value:
Nothing

Examples

Example 1:
tvSetData [101, [0], "Test data"];
Example 2:
_ctrl tvSetData [[0,0,0], "Test data"];

Additional Information

See also:
tvAddtvCleartvCollapsetvCounttvCurSeltvDatatvDeletetvExpandtvPicturetvSetCurSeltvSetPicturetvSetValuetvSorttvSortByValuetvTexttvValue

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