Hi everyone,
I've gone through all the tabcontrol functions, but I can't seem to find out how to get the name of the current active tab.
I have a list of current files, and when the user wants to save or close the file, I need to find out what tab is active.
How should I get that info?
[Edit]
I figured out how to catch the EventSelectionChanged event and then use getActiveChild() to determine what the current active tab is, so that's working alright for my app.
Active Tab
Moderators: CEGUI MVP, CEGUI Team
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
Re: Active Tab
There's a getSelectedTabIndex method and then a getTabContentsAtIndex method. The former is a recent addition, so you may not have this unless you're running a CVS version from earlier this week.
CE.
CE.
Return to “Modifications / Integrations / Customisations”
Who is online
Users browsing this forum: No registered users and 13 guests