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 |
|
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
|
|
|
|
Re: how to tell which tab is which [message #28106 is a reply to message #28099] |
Tue, 17 August 2010 01:02 |
|
hi Koldo-
That is exactly the code snippet and explanation I was looking for. I know I didn't code it right. Now I will be able to use tab controls with more practice and studying hopefully. I need to hit the manual and really practice in my spare time after work.
Thanks very much for the tip,
jim
|
|
|
|
Goto Forum:
Current Time: Fri Apr 26 00:38:11 CEST 2024
Total time taken to generate the page: 0.95616 seconds
|