I have run into an oddity while using LAMW. I created a new LAMW GUI project and used a Jpanel and several jbitbuttons to re-create a dialer app that I wrote years ago. This is just to compare the 2 and see if there are any surprises.
Anyway. I saved my main unit as Main.pas as I always do, and I renamed the form to Mainfrm as I always do. Everything seemed fine until I had to shut everything down for a meeting. I saved everything and closed Lazarus.
When I came back, I could not load the project again. I get a Property "Caption" not found. I can still load the demo projects without a problem, so I created a new project again and placed the same components on the Jform again. This time I did not rename the main form, I lseft it a AndroidModule1, and I can close the ide , re-open it and it loads the project just fine.
I can't find any differences between the 2 projects that I created except the name of the main form, so I suspect this is not supported, or the renaming makes the project look like it is a standard Tform again? Jforms do not have a caption property, but do have a Text property. It's just a guess but something that will force me to change my normal naming practices.
I should add that I am using Lazarus 2.0.10 and FPC 3.2.0, the latest LAMW and the Arm and Aarch64 cross compilers.
Thanks,
--- Jem