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 » Layout Designer causes compile errors (Editing .lay files causes compile errors -- app migrated from Upp 2007 to Upp rev 9604)
Layout Designer causes compile errors [message #46352] Mon, 25 April 2016 16:14 Go to next message
jfranks is currently offline  jfranks
Messages: 36
Registered: September 2014
Location: Houston, Texas
Member
Hi,

We have a very large application written and working for UPP 2007.
We've upgraded U++ to upp-x11-src-9604 and have an issue with the
Layout Designer.

The context for our U++ Layout Designer issue is similar to another
forum entry that we made a while back:

http://www.ultimatepp.org/forums/index.php?t=msg&th=9196 &start=0&

The difference is that we are on a more current version of U++ snapshot
compared to that previous post, i.e., upp-x11-src-9604, and the edits
include different files.

Attached are two exhibits from two of our developers that were asked to
provide examples of the latest Layout Designer issues that we are running
into. These examples include a 'before' and 'after' lay file along with
a snapshot of the IDE compiler error.

We are hoping that there is a simple fix to this issue. However,
we also would like a recommendation regarding handling of the lay files
that came from the legacy upp-2007.1 that we are migrating into the new
product.

One of our developer's suggestion is that we just go ahead and edit every
lay file with the newer upp layout editor and hope that all of the problems
just go away. Is that is a viable approach in order to avoid this issue
entirely?

regards,
-- Jeff Franks



Re: Layout Designer causes compile errors [message #46355 is a reply to message #46352] Mon, 25 April 2016 19:21 Go to previous messageGo to next message
Lance is currently offline  Lance
Messages: 536
Registered: March 2007
Contributor
Hi Jeff:

Mannually edit all layout file is certainly an option. If you have many layout file, you may be able to automate the process by writing a simple parser to do that for you. Find and replace may even works better than recreate each layout files.

Ctrl-T will switch to the actual text of the layout file when you are viewing the layout in the IDE. Identify what controls are giving you trouble. From you screen shot, it looks like if you replace the Ctrl's type to Label, it will silence it from complaining "No SetLabel" method, etc.

HTH,
Lance
Re: Layout Designer causes compile errors [message #46356 is a reply to message #46352] Mon, 25 April 2016 20:47 Go to previous message
mirek is currently offline  mirek
Messages: 13986
Registered: November 2005
Ultimate Member
It looks as somebody at your company took it seriously and actually provided .usc files for those "XT" (e.g. XTDropList) widget classes.

The ordering of "properties" might have changed since 2007. Anyway, perhaps the correct path is to fix these .usc files. Alternatively, it might have sense to actually move 'property setup' from .lay into .cpp code.
Previous Topic: embeded system
Next Topic: TheIDE crashes when type of a widget is changed in layout designer
Goto Forum:
  


Current Time: Sun Jun 23 15:50:41 CEST 2024

Total time taken to generate the page: 0.01684 seconds