tvSetData: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) No edit summary |
Fred Gandt (talk | contribs) m (<code>) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Sets string data to item on given path. IDC means id of parent Tree View. | | 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]] | |p1= [idc, [path], text]: [[Array]] |= PARAMETER1 | ||
|p2= idc: [[Number]] | |p2= idc: [[Number]] |= PARAMETER2 | ||
|p3= [path]: [[Array]] - Array containing numbers. |= PARAMETER3 | |p3= [path]: [[Array]] - Array containing numbers. |= PARAMETER3 | ||
|p4= data: [[String]] | |p4= data: [[String]] |= PARAMETER4 | ||
| [[Nothing]] |= RETURNVALUE | | [[Nothing]] |= RETURNVALUE | ||
|x1= <code>tvSetData [101, [0], "Test data"]</code>|= | |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]] |= | | [[tvAdd]], [[tvClear]], [[tvCollapse]], [[tvCount]], [[tvCurSel]], [[tvData]], [[tvDelete]], [[tvExpand]], [[tvPicture]], [[tvSetCurSel]], [[tvSetPicture]], [[tvSetValue]], [[tvSort]], [[tvSortByValue]], [[tvText]], [[tvValue]] |= See Also | ||
| |= MPBEHAVIOUR | | |= MPBEHAVIOUR |
Revision as of 12:37, 12 April 2014
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