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 editor reverting changes
Re: Layout editor reverting changes [message #55285 is a reply to message #55266] Tue, 27 October 2020 15:03 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13980
Registered: November 2005
Ultimate Member
jimlef wrote on Sun, 25 October 2020 22:04
Has anyone else noticed this? I've seen it in multiple versions from 2020.1 up to and including 15279 (running on Linux). It just happened again...

I have a layout with the line:
ITEM(Option, optProdTaxable, SetLabel(t_("Taxable?")).WantFocus(true).LeftPosZ(708, 60).TopPosZ(120, 16))
                                                      ^^^^^^^^^^^^^^^^

everything compiles fine... However, after I change anything else in the layout (say adding a new one), then compile, it reverts that line to:
ITEM(Option, optProdTaxable, WantFocus(true).SetLabel(t_("Taxable?")).LeftPosZ(708, 60).TopPosZ(120, 16))
                             ^^^^^^^^^^^^^^^^

which fails to compile with an /home/james/upp/MyApps/Invoices/Invoices.lay (49): error: no member named 'SetLabel' in 'Upp::Ctrl'

I switch it back to the first version, and all is well - until I make another change (forcing the saving of the layout file again).

Anyone else?

Jim


Now looking at it, I believe that you must have edited .lay file in text editor to add WantFocus there. Is that correct?

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Layout with raspberry
Next Topic: Layout designer distorts .lay files
Goto Forum:
  


Current Time: Wed May 29 12:16:20 CEST 2024

Total time taken to generate the page: 0.02278 seconds