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

For help with general CEGUI usage:
- Questions about the usage of CEGUI and its features, if not explained in the documentation.
- Problems with the CMAKE configuration or problems occuring during the build process/compilation.
- Errors or unexpected behaviour.

Moderators: CEGUI MVP, CEGUI Team

Ralf/pdx
Just popping in
Just popping in
Posts: 19
Joined: Mon Mar 05, 2007 15:13

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

Postby Ralf/pdx » Fri Nov 14, 2008 10:49

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.
Last edited by Ralf/pdx on Fri Nov 14, 2008 12:58, edited 3 times in total.

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Postby CrazyEddie » Fri Nov 14, 2008 12:01

Hi,

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

HTH

CE

Ralf/pdx
Just popping in
Just popping in
Posts: 19
Joined: Mon Mar 05, 2007 15:13

Postby Ralf/pdx » Fri Nov 14, 2008 12:29

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!
Last edited by Ralf/pdx on Tue Nov 25, 2008 08:36, edited 1 time in total.

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Postby CrazyEddie » Sat Nov 15, 2008 08:36

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.


Return to “Help”

Who is online

Users browsing this forum: No registered users and 4 guests