tvAdd: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (<code> tidy)
m (control cat added)
Line 43: Line 43:
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_GUI_Control|{{uc:{{PAGENAME}}}}]]

Revision as of 00:01, 14 August 2014

Hover & click on the images for description

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

Notes

Bottom Section