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 » Coffee corner » Qt/Windows Open Source
Re: Qt/Windows Open Source [message #2664 is a reply to message #2593] Thu, 20 April 2006 15:10 Go to previous messageGo to previous message
gprentice is currently offline  gprentice
Messages: 260
Registered: November 2005
Location: New Zealand
Experienced Member
_Seven_ wrote on Fri, 21 April 2006 00:31

Create a tutorial teaching the U++ language, with this more people came, more feedback will have.
I'm interested to learn but i don't know how!



I agree that U++ is currently too hard to get into for most people and it's quite hard to see what U++ is capable of. A way to get started is to read the tutorials that do exist

http://upp.sourceforge.net/examples$uppweb$HelloWorld$en-us. html
http://upp.sourceforge.net/srcdoc$CtrlLib$Tutorial$en-us.htm l
http://www.arilect.com/upp/forum/index.php?t=getfile&id= 114&

then try the examples and reference examples one by one and experiment. Pick a widget one at a time and try to find out how to use it - i.e. look through the examples to see how a widget of that type can be used. Some widgets like ArrayCtrl you can find documented in the help system.

Suppose you want to group controls - this is fairly basic GUI functionality, but as far as I am aware, it's not documented anywhere how to do it. The way to do it is to add controls to a parent Ctrl e.g.

struct App : TopWindow {
Ctrl mc1;
StaticRect s1;
// ...
w.mc1.Add(w.s1);
w.s1.SetPos(w.s1.PosLeft(5, 15), w.s1.PosTop(20, 5));

mc1 is the parent Ctrl and s1 is the child control. s1.PosLeft and PosTop set the position of the child control relative to the parent control. U++ widgets all derive from Ctrl.

By playing with the examples and widgets, you can gradually learn U++ - but it takes a bit longer than it would with proper help and "tutorials" for everything.

(oops, accidentally logged myself out while writing this - hope it doesn't appear twice or something!)

Graeme

[Updated on: Thu, 04 May 2006 15:15] by Moderator

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
Previous Topic: why are these recent changes in upp files of plugins
Next Topic: Think bigger think higher!
Goto Forum:
  


Current Time: Mon Aug 18 08:18:32 CEST 2025

Total time taken to generate the page: 0.06386 seconds