tvSort: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
m (Text replacement - "<code>([^<]*)<nowiki\/?>([^<]*)<\/code>" to "<code>$1$2</code>")
Line 28: Line 28:
|r2= [[Nothing]]
|r2= [[Nothing]]


|x1= <code>control tvSort [<nowiki/>[0], true];</code>
|x1= <code>control tvSort [[0], true];</code>


|x2= <sqf>tvSort [102, [0], true];</sqf>
|x2= <sqf>tvSort [102, [0], true];</sqf>

Revision as of 10:28, 13 May 2022

{{RV|type=command

|game1= arma3 |version1= 0.74

|gr1= GUI Control - Tree View

|descr= Sorts all children of given path. Text of Tree View entries is used for sorting.

|s1= control tvSort [path, reversed]

|p1= control: Control

|p2= path: Array - Tree View Path of the parent item to sort

|p3= reversed: Boolean - (Optional, default false) true to reverse sort it

|r1= Nothing

|s2= tvSort [idc, path, reversed]

|p21= idc: Number - control idc

|p22= path: Array - Tree View Path of the parent item to sort

|p23= reversed: Boolean - (Optional, default false) true to reverse sort it

|r2= Nothing

|x1= control tvSort [[0], true];

|x2=

tvSort [102, [0], true];

|seealso= lbSortBy lnbSortBy tvSortAll tvSortByValue tvSortByValueAll }}