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 » Another String error solved, maybe. ( String error)
Re: Another String error solved, maybe. [message #46877 is a reply to message #46769] Sun, 04 September 2016 17:30 Go to previous messageGo to previous message
deep is currently offline  deep
Messages: 263
Registered: July 2011
Location: Bangalore
Experienced Member
Hi Neilson,

Try following.

#include <CtrlLib/CtrlLib.h>

using namespace Upp;

struct App : public TopWindow
{
	EditField infile,outfile,basefile;
	String In,Out,Base;
	
	App();
};


App::App()
{
	infile.SetText("In File");
	outfile.SetText("Out File");
	basefile.SetText("Base File");

	Add(infile.TopPos(4,20).HSizePos());
	Add(outfile.TopPos(28,20).HSizePos());
	Add(basefile.TopPos(52,20).HSizePos());
	
	Title("Test EditField").Sizeable().Zoomable();

	In = ~infile ;
	Out = ~outfile ;
	Base = ~basefile ;

	DUMP(In);
	DUMP(Out);
	DUMP(Base);
}


GUI_APP_MAIN
{
	App app;
	app.SetRect(100,100,300,200);
	app.Run();
}


This will give error. Will not compile.
	In = infile ;



Warm Regards

Deepak
 
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: How do I swap the Ctrl in the TabCtrl ?
Next Topic: Image to an SQLite blob windows 10
Goto Forum:
  


Current Time: Wed May 08 06:08:33 CEST 2024

Total time taken to generate the page: 0.01764 seconds