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++ TheIDE » U++ TheIDE: Layout (Forms) Designer » GUI with Menu bar and 5 Labels/Text Boxes
Re: GUI with Menu bar and 5 Labels/Text Boxes [message #24911 is a reply to message #24909] Thu, 04 February 2010 03:32 Go to previous messageGo to previous message
nlneilson is currently offline  nlneilson
Messages: 644
Registered: January 2010
Location: U.S. California. Mojave &...
Contributor
Thanks Anton!!

Your post pointed me in the right direction.

I downloaded the u++ package several days ago and did not have access to the internet until I just got back so was getting frustrated not having an example to follow.
I just downloaded the GUI Tutorial, it would be good if that was attached to the Help file that is with TheIDE or at least included in the download package.

SetRect(...) does work and over rides the size set in the .lay file. It takes 4 parameters, 2 for the position and 2 for the size where Java takes 2, frame.setLocation(5, 46); The NoCenter() is not necessary.

    MyApp() {
	CtrlLayout(*this, "Neilson1");
	TopMost(true, true);
	SetRect(6, 78, 264, 140);


I copied the GUI Tutorial into the upp directory and did a search for "decorated" in that directory. The only things that came up were:
String DecoratedItem
wbemErrNondecoratedObject
Neither of these seemed to apply.

MSVC has a box to check for this and in Java:
frame.setUndecorated(true);

So unless it is called something else this may not be implemented in upp/TheIDE, at least I found no examples that have it.



 
Read Message
Read Message
Read Message
Read Message icon13.gif
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: How to make Layout Sizeable & Zoomable
Next Topic: Layout editor problem with Ctrl &
Goto Forum:
  


Current Time: Mon Jun 17 07:09:44 CEST 2024

Total time taken to generate the page: 0.02430 seconds