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 » U++ Widgets - General questions or Mixed problems » How to arrange widgets
Re: How to arrange widgets [message #9586 is a reply to message #9583] Fri, 18 May 2007 10:19 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14261
Registered: November 2005
Ultimate Member
michael wrote on Fri, 18 May 2007 04:08

I want to place a imagectrl and a button on a topwindow. This is how i tried to do it:

Add(aboutImg.SetImage(MyImg::about()).LeftPos(1¸ 200).TopPos(1¸ 200));
Add(closeBtn.SetLabel("Close AboutDialog").LeftPos(1, 20).TopPos(250, 20));


I got these error:

G:\Entwicklung\UPP\prohibisZA\aboutdialog.cpp: In constructor `AboutDialog::AboutDialog()':
G:\Entwicklung\UPP\prohibisZA\aboutdialog.cpp:13: error: stray '\184' in program


What's the right way to do it?

Michael


You did it right, just got puzzled by Assist++:

LeftPos(1¸

look there, it is not regular comma, it is marker. Try to press ',' with cursor before it to find out the meaning... (it converts to ',' and selects the next parameter).
 
Read Message
Read Message
Read Message
Previous Topic: Ctrl::Accept
Next Topic: DropList::Find() error?
Goto Forum:
  


Current Time: Sun Jun 08 17:33:54 CEST 2025

Total time taken to generate the page: 0.04463 seconds