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 » Extra libraries, Code snippets, applications etc. » U++ users applications in progress and useful code snippets, including reference examples! » How to combine two widget-class in the topwindow
Re: How to combine two widget-class in the topwindow [message #2101 is a reply to message #2100] Fri, 31 March 2006 23:40 Go to previous messageGo to previous message
fudadmin is currently offline  fudadmin
Messages: 1321
Registered: November 2005
Location: Kaunas, Lithuania
Ultimate Contributor
Administrator
forlano wrote on Fri, 31 March 2006 22:14


The current problem is to put between the menubar and the status bar a group of 4 tab pages. Each of them will contain other widgets.


did you mean this?:
#include <CtrlLib/CtrlLib.h>

GUI_APP_MAIN
{
	TopWindow w;
	TabCtrl tabs;
	w.Add(tabs.SizePos()); //fills all available space...
	tabs.Add("one");
	tabs.Add("two");
	tabs.Add("three");
	//add more accordingly or create in a a loop...
	
	w.Run();
}

[Updated on: Fri, 31 March 2006 23:40]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Mouse over button example -"catch me if you can..."
Next Topic: "Forlano tabs" - how to reduce a headache by the proper use of the designer...
Goto Forum:
  


Current Time: Mon May 13 01:42:26 CEST 2024

Total time taken to generate the page: 0.02305 seconds