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:
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:
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
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.
Torque Owner Kevin James
Totally unhelpful, but I thought maybe you'd find my TGB editors amusing.