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   |
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
|
|
|
Goto Forum:
Current Time: Sun May 11 15:07:26 CEST 2025
Total time taken to generate the page: 0.03790 seconds
|