Home » U++ Library support » TabCtrl » Hide tab in TabCtrl
Re: Hide tab in TabCtrl [message #25602 is a reply to message #25601] |
Wed, 03 March 2010 10:26   |
 |
koldo
Messages: 3437 Registered: August 2008
|
Senior Veteran |
|
|
luzr wrote on Wed, 03 March 2010 10:03 | Well, I guess TabCtrl was lacking in this kind of operation. I think these methods might improve situation:
int Find(const Ctrl& slave) const;
void Set(Ctrl& slave);
TabCtrl::Item& Insert(Ctrl& before_slave);
TabCtrl::Item& Insert(Ctrl& before_slave, const char *text);
TabCtrl::Item& Insert(Ctrl& before_slave, const Image& m, const char *text);
TabCtrl::Item& Insert(Ctrl& before_slave, Ctrl& slave, const char *text);
TabCtrl::Item& Insert(Ctrl& before_slave, Ctrl& slave, const Image& m, const char *text);
void Remove(Ctrl& slave);
Still, maybe we should add visibility flag too (but its a bit more difficult and I do not have enough time now).
Mirek
|
Thank you Mirek
Tested. It runs well and it is simpler and better behaved.
With this now I do not need visibility flag .
Best regards
IƱaki
|
|
|
Goto Forum:
Current Time: Sun Jun 08 20:54:20 CEST 2025
Total time taken to generate the page: 0.04379 seconds
|