Game Development Community

GUI TabBook and ListBox Bugs

by Phillip O'Shea · in Torque Game Builder · 11/11/2007 (11:25 am) · 0 replies

Firstly, if you have a tab page within the book and want to remove it (i.e. %tabBook.remove(%tabPage)) is does not call the "onChildRemoved()" function built into the engine. This function is supposed to clear the page from the book and neaten everything up, however, it isn't called.

Secondly, if you dump() a list box control, you will see that there is meant to be an onMouseDown() callback. However, this function is not called. The onDoubleClick is called, so I guess its just a simple mod to the source to get the single click working too.

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.