tvSortByValue: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) No edit summary |
Fred Gandt (talk | contribs) m (<code> and Desc. tidy) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Sorts childrens of given item by value | | Sorts childrens of given item by value. IDC means id of parent Tree View. | ||
<br> | |||
Param ''reversed'' is optional. |= Description | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| '''tvSortByValue''' [idc, [path], reversed] |= Syntax | | '''tvSortByValue''' [idc, [path], reversed] |= Syntax | ||
|p1= [idc, [path], reversed]: [[Array]] | |p1= [idc, [path], reversed]: [[Array]] |= PARAMETER1 | ||
|p2= idc: [[Number]] | |p2= idc: [[Number]] |= PARAMETER2 | ||
|p3= [path]: [[Array]] - Array containing numbers. |= PARAMETER3 | |p3= [path]: [[Array]] - Array containing numbers. |= PARAMETER3 | ||
|p4= reversed: [[Boolean]] - optional | |p4= reversed: [[Boolean]] - optional |= PARAMETER4 | ||
| [[Nothing]] |= RETURNVALUE | | [[Nothing]] |= RETURNVALUE | ||
|x1= <code>tvSortByValue [101, [0], false]</code>|= | |x1= <code>[[tvSortByValue]] [101, [0], [[false]]<nowiki>]</nowiki>;</code> |= Example 1 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[tvAdd]], [[tvClear]], [[tvCollapse]], [[tvCount]], [[tvCurSel]], [[tvData]], [[tvDelete]], [[tvExpand]], [[tvPicture]], [[tvSetCurSel]], [[tvSetData]], [[tvSetPicture]], [[tvSetValue]], [[tvSort]], [[tvText]], [[tvValue]] |= | | [[tvAdd]], [[tvClear]], [[tvCollapse]], [[tvCount]], [[tvCurSel]], [[tvData]], [[tvDelete]], [[tvExpand]], [[tvPicture]], [[tvSetCurSel]], [[tvSetData]], [[tvSetPicture]], [[tvSetValue]], [[tvSort]], [[tvText]], [[tvValue]] |= See Also | ||
| |= MPBEHAVIOUR | | |= MPBEHAVIOUR |
Revision as of 12:38, 12 April 2014
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