tvSortByValue: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (<code> and Desc. tidy)
m (control cat added)
Line 45: Line 45:
[[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:03, 14 August 2014

Hover & click on the images for description

Description

Description:
Sorts childrens of given item by value. IDC means id of parent Tree View.
Param reversed is optional.
Groups:
Uncategorised

Syntax

Syntax:
tvSortByValue [idc, [path], reversed]
Parameters:
[idc, [path], reversed]: Array
idc: Number
[path]: Array - Array containing numbers.
reversed: Boolean - optional
Return Value:
Nothing

Examples

Example 1:
tvSortByValue [101, [0], false];

Additional Information

See also:
tvAddtvCleartvCollapsetvCounttvCurSeltvDatatvDeletetvExpandtvPicturetvSetCurSeltvSetDatatvSetPicturetvSetValuetvSorttvTexttvValue

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