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 » Is the Layout Designer outdated?
Is the Layout Designer outdated? [message #57057] Tue, 18 May 2021 23:15 Go to previous message
MeerMusik is currently offline  MeerMusik
Messages: 13
Registered: April 2021
Location: Germany, Lower Saxony, Ha...
Promising Member

Hello.

I finally started to try to learn UPP. From within the Layout Editor I added a Label and a Button. The basic Layout File then contains:
LAYOUT(TryToLearnUPPGUIPartLayout, 864, 652)
	ITEM(LabelBase, Label1, SetText(t_("\vI am a Label!\n")).SetAlign(ALIGN_CENTER).SetInk(Color(226, 42, 0)).LeftPosZ(340, 72).TopPosZ(64, 52))
	ITEM(Upp::Button, Button1, LeftPosZ(204, 368).TopPosZ(192, 168))
END_LAYOUT


When I try to compile this, I always end up with with the Error Message
C:/Dev/GitRepos/AKKomPolToolUPP/TryToLearnUPPGUIPart/TryToLearnUPPGUIPart.lay (2): error: 'class Upp::LabelBase' has no member named 'LeftPosZ'


Same is true for TopPosZ. I also get this Error:
C:/Dev/upp/uppsrc/CtrlCore/lay0.h (59): error: 'class Upp::LabelBase' has no member named 'LayoutId'


The only thing I have changed is giving the Items an Name. What am I missing? Thanks in advance!

[Updated on: Tue, 18 May 2021 23:15]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Layout designer distorts .lay files
Next Topic: How to plot a PIE chart in Form?
Goto Forum:
  


Current Time: Mon Apr 29 07:01:27 CEST 2024

Total time taken to generate the page: 0.04574 seconds