U++ framework
Do not panic. Ask here before giving up.

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 May 04 04:26:20 GMT+2 2026

Total time taken to generate the page: 0.00482 seconds