GuiControl like a Table
by Gustavo Boni · in Torque Game Builder · 02/14/2007 (5:55 am) · 8 replies
I need to have some output data in a table style like that:
Is there a GuiControl which does that?
GameName Date game01.save 02/10/07 game02.save 02/05/07 game03.save 02/01/07
Is there a GuiControl which does that?
#2
02/14/2007 (7:14 am)
Hey David, its a good idea! thank you!
#3
02/14/2007 (8:50 am)
I can't remember the name of the control but Torque provides this. It is used in the TGE guis for finding multiplayer servers. They display a list of information on each server that is in a table format just like that. I don't know of any GUI controls being removed from TGE to TGB so the control itself should be available.
#4
Least, I think they do it this way, I did some work on the Find Server GUI a while back, and it appeared to be this way ...
02/14/2007 (9:10 am)
@Ben -- pretty sure that is a listbox control, hehe ... and they display the items inside with formatted text (ie; tab spacings) -- last I checked ...Least, I think they do it this way, I did some work on the Find Server GUI a while back, and it appeared to be this way ...
#5
02/14/2007 (5:05 pm)
They aren't formatting them with tab spacings. The control used for that gui can have a number of columns specified for it. The string for each row uses the tab character as the separator for each field. The tabs don't give formatting information, they are the delimiters between columns.
#6
02/14/2007 (5:38 pm)
@Ben -- thanks for the clarification.
#7
02/14/2007 (6:42 pm)
@Ben: i'm trying to use a TextList, but i dont know how to create columns in it. I tried to use TAB, but it didnt work. Could you help me?
Associate David Higgins
DPHCoders.com
A suggestion, use two listbox's and put them side by side ... as you fill the left, fill the right ... treat each list item on the left as the 'row' and each box as a 'column' ...