Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 11-11-2005, 11:41 PM
Yen Yen is offline
Banned
Yen's Avatar
Join Date: Oct 2005
Location: Nova Scotia, Canada
Posts: 1,085
Yen is an unknown quantity at this point
Send a message via AIM to Yen Send a message via MSN to Yen
List Bar Thingies

Does anyone know what kind of control the bar things at the top of lists are, if there is one?
The things you click to sort lists..
To be more specific, here's a screenshot with the thingers circled.
Attached Thumbnails
Click image for larger version

Name:	example.JPG
Views:	234
Size:	69.0 KB
ID:	34253  
Reply With Quote
  #2  
Old 11-11-2005, 11:45 PM
napo_p2p napo_p2p is offline
oh snaps
napo_p2p's Avatar
Join Date: Sep 2003
Location: Pismo Beach, California
Posts: 2,118
napo_p2p has a spectacular aura aboutnapo_p2p has a spectacular aura about
Send a message via AIM to napo_p2p Send a message via MSN to napo_p2p
I haven't seen anything like that with the GUI controls. If there isn't one, it would be a nice thing to add.
__________________
Scito hoc super omnia.
Haec vita est tua una sola.
Dum vita superest, utere maxime quoque puncto, momento, et hora quae habes.
Tempus neminem non manet.
Noli manere tempus.
Carpe Diem

Seize the Day.
Reply With Quote
  #3  
Old 11-20-2005, 02:34 AM
ApothiX ApothiX is offline
Okiesmokie
Join Date: May 2004
Posts: 1,447
ApothiX is on a distinguished road
Quote:
GuiTextListCtrl (GuiArrayCtrl):
rows - object
clipcolumntext - boolean
columns - string - of format "0 16", offset of the tabulators
enumerate - boolean
fitparentwidth - boolean
groupsortorder - string
iconheight - integer (read only)
iconwidth - integer (read only)
resizecell - boolean
selected - object (read only)
sortcolumn - integer
sortmode - string
sortorder - string
addrow(int, str)
clearrows()
clearselection()
findtext(str) - returns integer
findtextid(str) - returns integer
getrowatpoint(int, int) - returns integer - row index
getrowidatpoint(int, int) - returns integer - row id
getrownumbyid(int) - returns integer
getselectedid() - returns integer - row id
getselectedrow() - returns integer - row index
getselectedtext() - returns string
insertrow(int, int, str)
makevisible(int)
makevisiblebyid(int)
removerow(int)
removerowbyid(int)
rowcount() - returns integer
seticonsize(int, int)
setselectedbyid(int)
setselectedrow(int)
sort()
Then set the first items text to "ColumnName1\tColumnName2\tEtc.." and the items with the same format ("Column1\tColumn2\tColumn3")
__________________


[06:24:19] * Parts: Skyld (i=silent@unaffiliated/skyld) ("Perhaps Okiesmokie did not realise that I like the boys. ")
Reply With Quote
  #4  
Old 11-20-2005, 04:37 AM
Yen Yen is offline
Banned
Yen's Avatar
Join Date: Oct 2005
Location: Nova Scotia, Canada
Posts: 1,085
Yen is an unknown quantity at this point
Send a message via AIM to Yen Send a message via MSN to Yen
We don't want the top collumn to be selectable. We want it to be like a button.
Reply With Quote
  #5  
Old 11-20-2005, 05:29 AM
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 GuiTextListCtrl doesn't display column headers, but you can use columns (values separated by tabs "\t"), and you can add your own controls for the headers, you can use text labels or buttons or whatever
Reply With Quote
  #6  
Old 11-21-2005, 03:02 PM
ApothiX ApothiX is offline
Okiesmokie
Join Date: May 2004
Posts: 1,447
ApothiX is on a distinguished road
Quote:
Originally Posted by Stefan
The GuiTextListCtrl doesn't display column headers, but you can use columns (values separated by tabs "\t"), and you can add your own controls for the headers, you can use text labels or buttons or whatever
Or if you really want the buttons, just make GuiButtonCtrls, and make their click event sort the list by that column.
__________________


[06:24:19] * Parts: Skyld (i=silent@unaffiliated/skyld) ("Perhaps Okiesmokie did not realise that I like the boys. ")
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 04:41 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.