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
how to tell which tab is which [message #28097] Mon, 16 August 2010 05:04 Go to previous message
mtdew3q is currently offline  mtdew3q
Messages: 181
Registered: July 2010
Location: Upstate, NY (near Canada)
Experienced Member

hi-

If I use the Add method to add a control, how do I get the Id of the individual tab I want to add the control to?

WithSLCMHCalLayout<TopWindow> t1;

CtrlLayout(t1);
t1.SizePos();
iTab.Add("Tab1").Slave(&t1);
iTab.Add("Tab2").Slave(&t1);

Add(iCal.LeftPosZ(92, 180).TopPosZ(166, 156));

In the code above, iCal is a Calendar control. iTab is of type TabCtrl.

thanks for any assistance-
jim
 
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: Mon Apr 29 09:10:28 CEST 2024

Total time taken to generate the page: 0.02696 seconds