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 related question
Re: TabCtrl related question [message #55124 is a reply to message #55110] Mon, 12 October 2020 23:21 Go to previous messageGo to previous message
omari is currently offline  omari
Messages: 276
Registered: March 2010
Experienced Member
you can replace TopWindow with ParentCtrl,
class MainWindow : public WithMainWindowLayout<ParentCtrl>, public CallbackQueue, public Reader::Notify, public Writer::Notify, public RpcCmder::Notify

then

	TabDlg dlg;
	MainWindow tab[5];
	
	for(int i = 0; i < 5; i++)
	    dlg(tab[i], String("Tab")<<i);

        dlg .OKCancel()
	   .Title("Tab dialog");
	dlg.Run();





regards
omari.
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: How do I change TabCtrl tab size
Next Topic: [PROPOSAL] Adding GetCtrlGroup() method to TabBarCtrl.
Goto Forum:
  


Current Time: Wed Jun 04 16:28:45 CEST 2025

Total time taken to generate the page: 1.14803 seconds