tvAdd: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) No edit summary |
Fred Gandt (talk | contribs) m (<code> tidy) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Adds an item with given text to Tree View with given idc under specified path (zero based). | | Adds an item with given text to Tree View with given idc under specified path (zero based). |= Description | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| '''tvAdd''' [idc, [path], text] |= Syntax | | '''tvAdd''' [idc, [path], text] |= 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= text: [[String]] | |p4= text: [[String]] |= PARAMETER4 | ||
| [[Number]] |= RETURNVALUE | | [[Number]] |= RETURNVALUE | ||
|x1= <code>tvAdd [101, [0], "First item"]</code>|= | |x1= <code>[[tvAdd]] [101, [0], "First item"];</code> |= Example 1 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[tvClear]], [[tvCollapse]], [[tvCount]], [[tvCurSel]], [[tvData]], [[tvDelete]], [[tvExpand]], [[tvPicture]], [[tvSetCurSel]], [[tvSetData]], [[tvSetPicture]], [[tvSetValue]], [[tvSort]], [[tvSortByValue]], [[tvText]], [[tvValue]] |= | | [[tvClear]], [[tvCollapse]], [[tvCount]], [[tvCurSel]], [[tvData]], [[tvDelete]], [[tvExpand]], [[tvPicture]], [[tvSetCurSel]], [[tvSetData]], [[tvSetPicture]], [[tvSetValue]], [[tvSort]], [[tvSortByValue]], [[tvText]], [[tvValue]] |= See Also | ||
| |= MPBEHAVIOUR | | |= MPBEHAVIOUR |
Revision as of 12:33, 12 April 2014
Description
- Description:
- Adds an item with given text to Tree View with given idc under specified path (zero based).
- Groups:
- Uncategorised
Syntax
- Syntax:
- tvAdd [idc, [path], text]
- Parameters:
- [idc, [path], text]: Array
- idc: Number
- [path]: Array - Array containing numbers.
- text: String
- Return Value:
- Number
Examples
- Example 1:
tvAdd [101, [0], "First item"];
Additional Information
- See also:
- tvCleartvCollapsetvCounttvCurSeltvDatatvDeletetvExpandtvPicturetvSetCurSeltvSetDatatvSetPicturetvSetValuetvSorttvSortByValuetvTexttvValue
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