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 » U++ Library support » TabCtrl » tabctrl contents not visible
Re: tabctrl contents not visible [message #60353 is a reply to message #37964] Thu, 21 December 2023 01:13 Go to previous messageGo to previous message
netdiver is currently offline  netdiver
Messages: 4
Registered: January 2023
Location: Berlin
Junior Member
Here the test code

LAYOUT(TestTabCtrlLayout, 720, 376)
	ITEM(Upp::TabCtrl, MainTab, LeftPosZ(0, 420).TopPosZ(0, 212))
END_LAYOUT
LAYOUT(Tab_1, 400, 200)
	ITEM(Upp::Label, T1, SetLabel(t_("JumdidumTAB1")).LeftPosZ(16, 216).TopPosZ(12, 19))
	ITEM(Upp::Button, dv___1, SetLabel(t_("Aktivieren")).HSizePosZ(16, 292).VSizePosZ(40, 132))
END_LAYOUT


#include "TestTabCtrl.h"
TestTabCtrl::TestTabCtrl()
{
	CtrlLayout(*this, "Window title");
	
	WithTab_1<ParentCtrl> TabCtrl_Properties;
	MainTab.Add( TabCtrl_Properties, t_("Webseiten") );
	MainTab.Add( t_("Whatever") );
	
}

GUI_APP_MAIN
{
	TestTabCtrl().Run();
}
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to dynamically add remove tabs
Next Topic: TabCtrl.WhenSet is called when app closes
Goto Forum:
  


Current Time: Mon May 13 07:03:05 CEST 2024

Total time taken to generate the page: 0.01972 seconds