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 » How to change Tab name
Re: How to change Tab name [message #35852 is a reply to message #35848] Wed, 28 March 2012 07:47 Go to previous message
dolik.rce is currently offline  dolik.rce
Messages: 1789
Registered: August 2008
Location: Czech Republic
Ultimate Contributor

Hi Nick,

sure, it is possible Smile I believe you can do it like this:

...
	towerDefs.Add();
	CtrlLayout(towerDefs.Top());
	towers.m_tab.Add(towerDefs.Top().SizePos(),"this is the name which I want to be able to change");
...
	towers.m_tab.GetItem(0).Text("this is the changed text");


Best regards,
Honza
 
Read Message
Read Message
Previous Topic: Tabs with same layout but different "threads"
Next Topic: A few questions regarding TabCtrl
Goto Forum:
  


Current Time: Sun Apr 28 22:44:28 CEST 2024

Total time taken to generate the page: 0.04366 seconds