Game Development Community

TabBook/TabPage Problems

by Phillip O'Shea · in Torque Game Builder · 11/05/2007 (2:20 pm) · 1 replies

My first question is how do you delete a page from a tabbook?

I'm trying to do this:
%tabBook.remove(%tabPage);

This is what is meant to work, as far as I am aware, for removing a page, since you add a page to a book using:

%tabBook.add(%tabPage);

The problem I *think* that I am having is that the TabBook's "onChildRemove" callback (source) is not being called when the page is meant to be removed.

Am I doing anything wrong? Does anyone know a solution?

Cheers

About the author

Head of Violent Tulip, a small independent software development company working in Wollongong, Australia. Go to http://www.violent-tulip.com/ to see our latest offerings.


#1
11/30/2007 (5:12 pm)
Sometimes, my GUI builder doesn't allow me to delete anything. Sometimes, my GUI builder totally locks up for no reason. Sometimes, I ponder making an example of the GUI builder so that the particle and tilemap builder won't follow suit and also start acting up.

Totally unhelpful, but I thought maybe you'd find my TGB editors amusing.