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 |
|
mirek
Messages: 13980 Registered: November 2005
|
Ultimate Member |
|
|
jimlef wrote on Sun, 25 October 2020 22:04Has 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
|
|
|
Goto Forum:
Current Time: Wed May 29 12:16:20 CEST 2024
Total time taken to generate the page: 0.02278 seconds
|