Game Development Community

The usage of GuiTabBookCtrl and GuiTabPageCtrl

by Steven Chiu · in Torque Game Engine Advanced · 04/20/2008 (9:46 am) · 2 replies

I need to use the TabBook and TabPage controls for my project. I followed the new gui creation tutorial by first draging a GuiTabBookCtrl into the editor and then a GuiTabPageCtrl into it. I found that the TabPage not always shown correctly inside the TabBook, especially when I create a window control first and do the the same thing.

Anyone can share the correct usage of those two controls? BTW I'm using the vista and T3D demo.

#1
04/20/2008 (12:52 pm)
Do you add a title to the tab page? I know that if you don't give a title to the tab it will not display correctly (at least in my experience with tabs).
#2
04/21/2008 (4:33 am)
It works! Thanks for sharing this.