Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 Go to previous messageGo to previous message
koldo is currently offline  koldo
Messages: 3357
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 Smile.


Best regards
IƱaki
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Disappearing tabs in TabCtrl
Next Topic: How to change tabctrl background color ?
Goto Forum:
  


Current Time: Sat Apr 27 17:20:48 CEST 2024

Total time taken to generate the page: 0.05011 seconds