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
Adding Tab and Slaves to a TabCtrl [message #48418] Mon, 03 July 2017 14:43 Go to previous message
rafiwui is currently offline  rafiwui
Messages: 105
Registered: June 2017
Location: Stuttgart, Germany
Experienced Member
When I try adding a tab and some slaves to a TabCtrl widget, the tab is covering everything and the slaves are not visible anymore.
The TabCtrl and the other widgets are all set in a layout file.

Slaving code:
tab_settings.Add(t_("Language"))
    .Slave(&lng_language)
    .Slave(&txt_lang_check)
    .Slave(&b_preview)
    .Slave(&txt_preview);


If I don't slave the widgets they are still visible on top of the tab but you can't change tabs then so it is a problem.
I tested tabbing already when I started working with U++ a few weeks ago and it worked fine but now it doesn't and I can't remember what I did different.
Any ideas?


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: Sat Nov 28 20:59:48 CET 2020

Total time taken to generate the page: 0.02784 seconds