Thread: GuiTextListCtrl
View Single Post
  #11  
Old 09-04-2008, 12:34 PM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
The text list control is displaying group by group, if groupsortorder is ascending then entries would be displayed like 1,1,1,2,2,2,2 (entry.sortgroup). So basicly 'groupsortmode' is always 'value'.
When the entries have the same group then the entry.sortvalue decides if they are above or below.

In the playerlist buddies have group 1, normal people 2, ignored people 3 (or something like that). The players are sorted either alphabetically (sortmode 'name') or by time of arrival/last pm (sortmode 'value').
Reply With Quote