Game Development Community

GuiTextListCtrl?

by Konstantin Zubarev · in Torque Game Engine · 02/06/2007 (11:30 pm) · 3 replies

How can I made something like this?
----------------------
|cell 0,0 |cell 0,1 |
----------------------
|cell 1,0 |cell 1,1 |
----------------------
I meen borders. (Sorry for my english)

with the help of what gui control I can make table?

#1
02/06/2007 (11:36 pm)
You might try the GuiArray2Ctrl resource which i wrote a bit ago.

it provides a table w/ uniform cell size,
and you can put whatever you please in each cell.

edit: it doesn't draw borders for you, but you could maybe fake them with GuiBitmapCtrls or somesuch.
#2
02/07/2007 (12:09 am)
Thanks for your control, but I want somthing like Windows ListCtrl, a table with header (sort buttons) and several columns with borders. Has GuiTextListCtrl that functionality or I must add it manually?
#3
02/07/2007 (12:13 am)
Afaik, that functionality doesn't exist in TGE;
you would need to implement it yourself.

.. which if you do,
be sure to add it as a resource!
i'm sure lots of folks would use it.