tvSetData: Difference between revisions

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


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


| '''tvSetData''' [idc, [path], data] |= Syntax
| '''tvSetData''' [idc, [path], data] |= Syntax


|p1= [idc, [path], text]: [[Array]] |= PARAMETER1  
|p1= [idc, [path], text]: [[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= data: [[String]] |= PARAMETER4
|p4= data: [[String]] |= PARAMETER4


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




|x1= <code>tvSetData [101, [0], "Test data"]</code>|= EXAMPLE1
|x1= <code>[[tvSetData]] [101, [0], "Test data"];</code> |= Example 1
 
____________________________________________________________________________________________
____________________________________________________________________________________________


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


|  |= MPBEHAVIOUR  
|  |= MPBEHAVIOUR  

Revision as of 13:37, 12 April 2014

Hover & click on the images for description

Description

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

Syntax

Syntax:
tvSetData [idc, [path], data]
Parameters:
[idc, [path], text]: Array
idc: Number
[path]: Array - Array containing numbers.
data: String
Return Value:
Nothing

Examples

Example 1:
tvSetData [101, [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

Notes

Bottom Section