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 tell which tab is which
Re: how to tell which tab is which [message #28099 is a reply to message #28097] Mon, 16 August 2010 08:30 Go to previous messageGo to previous message
koldo is currently offline  koldo
Messages: 3361
Registered: August 2008
Senior Veteran
Hello Jim

I do not understand you well. Where are you adding iCal?. If t1 is of type TopWindow, it is strange to add it to a TabCtrl.

However, this could serve to you:

WithSLCMHCalLayout<StaticRect> t1, t2;

iTab.Add(t1.SizePos(), t_("Tab 1"));
iTab.Add(t2.SizePos(), t_("Tab 2"));

....

Item &myTab = iTab.GetItem(iTab.Find(t2));
myTab.Disable();   // Now tab where t2 is located, is disabled


Best regards
IƱaki
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Question and problems around TabCtrl
Next Topic: TabCtrl (or equivalen) with tabs on left side
Goto Forum:
  


Current Time: Thu May 16 03:19:51 CEST 2024

Total time taken to generate the page: 0.02297 seconds