ListControlSort

HC GUI programming ListControls ListControlSort
ListControlText ListControlSetBackgroundColor

ListControlSort alistcontrol col


Command to sort the ListControl alistcontrol by column number col.

Example:

lc=(ListControl [][MyListControl][][][]
	wxLC_REPORT [0 0][300 200])
ListControlInsertColumn lc 0 [col0]
ListControlInsertColumn lc 1 [col1]
ListControlInsertColumn lc 2 [col2]
ListControlSet lc [
	[1  3 A]
	[2  1 B]
	[3 10 C]]
ListControlSort lc 1
ListControlSort lc 2

Examples:

References:

ListControlText ListControlSetBackgroundColor