JdV Active Member Licensed User Longtime User Oct 8, 2016 #1 Hi I don't know if the following is a bug or just a quirk in the designer. Create a simple layout in designer consisting of two labels (Label1 and Label2). Add the following lines to the script window: Code: Copy Label1.Top(0%y) Label2.Bottom = 100%y Run the script and Label1 moves to the top of the screen however Label2 doesn't move anywhere and no error is reported. Now, try compiling and running the app and it correctly reports the error in the script: src\b4a\example\designerscripts\LS_layout1.java:12: error: ';' expected views.get("label1").vw.setTop((int)((0d / 100 * height))) Click to expand... Should the error have been reported by the designer? (See demo project attached). Regards Joe Attachments DesignerError.zip DesignerError.zip 7.6 KB · Views: 331
Hi I don't know if the following is a bug or just a quirk in the designer. Create a simple layout in designer consisting of two labels (Label1 and Label2). Add the following lines to the script window: Code: Copy Label1.Top(0%y) Label2.Bottom = 100%y Run the script and Label1 moves to the top of the screen however Label2 doesn't move anywhere and no error is reported. Now, try compiling and running the app and it correctly reports the error in the script: src\b4a\example\designerscripts\LS_layout1.java:12: error: ';' expected views.get("label1").vw.setTop((int)((0d / 100 * height))) Click to expand... Should the error have been reported by the designer? (See demo project attached). Regards Joe
Erel B4X founder Staff member Licensed User Longtime User Oct 9, 2016 #2 It is a bug and it is fixed for the next update.
G GeirrE New Member Licensed User Oct 13, 2016 #4 Hi. Can I kindly ask for aprox date for releasing the update? I'm experience the same problem, and I have to put my case on hold until this are solved. Best regards, Geirr.
Hi. Can I kindly ask for aprox date for releasing the update? I'm experience the same problem, and I have to put my case on hold until this are solved. Best regards, Geirr.
Erel B4X founder Staff member Licensed User Longtime User Oct 14, 2016 #5 I think that you misunderstood this bug. The error message of the invalid syntax only shows during compilation and not when you run the script from the designer. I don't see any reason to hold anything until it is fixed.
I think that you misunderstood this bug. The error message of the invalid syntax only shows during compilation and not when you run the script from the designer. I don't see any reason to hold anything until it is fixed.
G GeirrE New Member Licensed User Oct 14, 2016 #6 I'm very fresh when it comes to use b4a, so please excuse me. I have had the lisence for some time, but just started to dig into the program. I am using telephones as test/emulators, and tried to place the views as mentioned in the beginner guide page 119 - 121. So when the errormessage showed up when I run the app from IDE, I automtically react like I didn't could use the telephones as emulator(s) for a while. Running the script from designer are just tested now, but it's not looking the way I hoped... Must dig a little more... Best regards, GeirrE
I'm very fresh when it comes to use b4a, so please excuse me. I have had the lisence for some time, but just started to dig into the program. I am using telephones as test/emulators, and tried to place the views as mentioned in the beginner guide page 119 - 121. So when the errormessage showed up when I run the app from IDE, I automtically react like I didn't could use the telephones as emulator(s) for a while. Running the script from designer are just tested now, but it's not looking the way I hoped... Must dig a little more... Best regards, GeirrE