Game Development Community

GUI Table Control

by CEMA, Monash University · in Torque Game Engine · 03/16/2006 (9:35 pm) · 1 replies

I want to display a table of values in the GUI, like this:
+------------+-----------+
   | material1  | tree      |
   |            |           |
   +------------+-----------+
   | material2  | rock      |
   |            |           |
   +------------+-----------+
   | material3  | grass     |
   |            |           |
   +------------+-----------+

Is there a "table" control in the list of available controls? Being able to modify the table, or put a GuiPopupMenuCtrl inside it would be cool.

If there isn't I guess I will just use GuiTextListCtrl to display this information.

Nick

#1
03/17/2006 (12:10 am)
Actually, it looks like GuiTextListCtrl can do pretty much what I want. (I didn't realise GuiTextList can render multiple columns of text.)

Here's how to do columns: www.garagegames.com/mg/forums/result.thread.php?qt=21339