Page 1 of 1

[SOLVED] Which event do i get if TAB changes?

Posted: Fri Nov 14, 2008 10:49
by Ralf/pdx
I use CEGUI 0.5 with TaharezLook.

Now i have a frame window with TabControl and different TAB-windows. I need to now if the current TAB-window changes. Is there any event for this?

Till now i have tried "CEGUI::TabControl::EventActivated" and "CEGUI::TabButton::EventClicked" but with no success.

Posted: Fri Nov 14, 2008 12:01
by CrazyEddie
Hi,

You're probably looking for CEGUI::TabControl::EventSelectionChanged

HTH

CE

Posted: Fri Nov 14, 2008 12:29
by Ralf/pdx
That works fine for me! Thanks for the very fast answer, CE. :)


P.S.: It´s a shame that the new Ogre3D version is still using the old CEGUI 0.5!

Posted: Sat Nov 15, 2008 08:36
by CrazyEddie
Ralf/pdx wrote:P.S.: It´s a shame that the new Ogre3D version is still using the old CEGUI 0.5)!

Yeah, that's really quite old now and the 0.6.x releases have quite a few bug fixes from 0.5 (and some brand new issues too ;) ). I guess the guys are happy with 0.5 in general. Anyone who really wants 0.6 can do the upgrade themselves - there were no huge breaking changes between 0.5 and 0.6 the same as there was between 0.4 and 0.5 - all that's really needed is a recompile of the affected parts (the only real caveat is that you have to be certain you've erased all traces of the old version CEGUI libraries and headers - such as what are in the Ogre dependencies packs - prior to rebuilding parts of Ogre against the new ones).

CE.