U++ framework
Do not panic. Ask here before giving up.

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: 14291
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: Sat Jul 25 11:03:16 GMT+2 2026

Total time taken to generate the page: 0.00518 seconds