Game Development Community

Datagrid vs guitextlistctrl

by Jonathon Stevens · in Torque Game Engine · 06/10/2006 (3:12 pm) · 2 replies

I've been looking around the GUI controls and am not finding quite what I want. I'm looking for something like a datagrid where I can set how many columns i'll want and it does the rest. I'm looking at the closest control I can find which is the GuiTextListCtrl but it appears to only allow two total columns. Is this correct?

Anyone have any solutions that don't require me to write the entire control?

Thanks!

About the author

With a few casual games under his belt as CEO of Last Straw Productions, Jonathon created the increasingly popular Indie MMO Game Developers Conference.


#1
06/10/2006 (4:24 pm)
GuiArrayCtrl is probably what you're after.
#2
06/11/2006 (7:42 am)
The GuiTextListCtrl inherits from the guiarrayctrl. The array control is only a 2 dimensional array as well. I see in the math code, that support is only there for up to 4 columns (x, y, z, w). I could easily add support for higher, but waz wondering if anyone had already built a 'datagrid' type control?