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

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: Wed Sep 23 15:50:26 GMT+2 2026

Total time taken to generate the page: 0.46650 seconds