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 » Community » Newbie corner » Adding Tab and Slaves to a TabCtrl
Re: Adding Tab and Slaves to a TabCtrl [message #48420 is a reply to message #48418] Mon, 03 July 2017 15:03 Go to previous messageGo to previous message
rafiwui is currently offline  rafiwui
Messages: 105
Registered: June 2017
Location: Stuttgart, Germany
Experienced Member
Ok never mind my first question. I just realized that the TabCtrl can only have one widget and because I hide the last one I slave it does not appear.
But changing it to a structure with a ParentCtrl did not change anything. Nothing is shown in my tab.
This is the code I use now:
ParentCtrl languageCtrl;
languageCtrl
    << lng_language
    << txt_lang_check
    << b_preview
    << txt_preview;
    
tab_settings.Add(languageCtrl.SizePos(), t_("Language"));


Greetings
Daniel
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Switching layout inside class
Next Topic: Example Serial pak
Goto Forum:
  


Current Time: Fri Apr 26 00:42:14 CEST 2024

Total time taken to generate the page: 0.04021 seconds