forlano Messages: 1207 Registered: March 2006 Location: Italy
Senior Contributor
brianE wrote on Thu, 29 June 2006 15:10
Hi Guys,
I have tried reading thread call 'Forlano tabs' but am still not clear on this point; please advise.
I have simple layout: splitter, TabCtrl at top; ArrayCtrl under it.
I have second layout: some buttons.
I have third layout: some edits.
I want to put the buttons layout on tab1 of the TabCtrl and the edits layout on tab2 of the TabCtrl. I know you can do this! But I can't get my head around where things get declared and where to 'Add'. Please point me in right direction.
BrianE
The file attached contains that example update to the 606-dev3 version (iml file have been changed since them). Please study it and lets speak about it so we have a concrete example.
Try to modify the layout you prefer adding one button at once and note the difference. Then add the callback to your button in the correspondent constructor.
Modify only little thing and observe carefully! Focus your attention only about one class at once. Then come back with other questions.
Luigi
PS: do not try to open directly the file during the download, but first save it on the disk. Move the unzipped directory as it is in MyApps dir and run theIDE.
PPS: the title of your post is too specific and perhaps our Administrator will move this thread in the tabCtrl forum...