Hi,
I am using tab buttons, but I want some of them to be hidden at times. I can hide them with no problem, but if I move the mouse over one of the tabs buttons displayed, all of them are immediately displayed. Even the ones that were hidden.
So is there a way to change the behavior of that mouse over event?
or as an alternative, I can enable/disable them. But how can I change the color of the text of the disabled tab buttons, so they actually look disabled. Because even thought it is defined different in the LookAndFeel file, it doesn't change.
Thanks.
Hide tab buttons
Moderators: CEGUI MVP, CEGUI Team
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
Hi,
If you're using TabButtons outside of the TabControl, can I ask what exactly you're trying to achieve and why you chose TabButton? I ask in order to fully understand the situation and so it will be easier to offer advice
The TabButton is pretty much specifically designed to be used as part of the TabControl, so when using it outside of the TabControl you'll likely see some behaviours that do not make sense in 'normal' usage (this is likely one of them, though I did not look at the code).
CE.
If you're using TabButtons outside of the TabControl, can I ask what exactly you're trying to achieve and why you chose TabButton? I ask in order to fully understand the situation and so it will be easier to offer advice
The TabButton is pretty much specifically designed to be used as part of the TabControl, so when using it outside of the TabControl you'll likely see some behaviours that do not make sense in 'normal' usage (this is likely one of them, though I did not look at the code).
CE.
CrazyEddie wrote:Hi,
If you're using TabButtons outside of the TabControl, can I ask what exactly you're trying to achieve and why you chose TabButton? I ask in order to fully understand the situation and so it will be easier to offer advice
The TabButton is pretty much specifically designed to be used as part of the TabControl, so when using it outside of the TabControl you'll likely see some behaviours that do not make sense in 'normal' usage (this is likely one of them, though I did not look at the code).
CE.
I think he actually uses a whole tab control thing, but just wants to hide some buttons at some times, so that the user can not open some tabs under some conditions.
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
Pompei2 wrote:I think he actually uses a whole tab control thing, but just wants to hide some buttons at some times, so that the user can not open some tabs under some conditions.
Ah, right. I think the only way to do that is to completely remove the content pane that corresponds to the tab button you want to hide. You can't just hide those buttons because technically they're not your buttons to hide
The other option is of course to write a new TabControl that allows you to manipulate the buttons.
CE.
Return to “Modifications / Integrations / Customisations”
Who is online
Users browsing this forum: No registered users and 2 guests