B Bernhard Svavarsson Member Licensed User Longtime User Oct 23, 2014 #1 Hi Been using Designer to create layouts. Works fine but to day I decided to remove two buttons from layout (via Designer ID of course). When compiling I get the following error: ------------------------------------------------------ Parsing code. 0.01 Compiling code. 0.04 Compiling layouts code. Error '=' expected. Error File: hjukrfr.bal Go to the designer script page to debug this error. ---------------------------------------------------------- Yes of course I went to the designer but there where no script to read or work with. I understand that the .bal file can't be edited outside Designer Is there any other way to trace this error and correct.? Perhabs I did not using the correct way in removing those buttons Regards Benni
Hi Been using Designer to create layouts. Works fine but to day I decided to remove two buttons from layout (via Designer ID of course). When compiling I get the following error: ------------------------------------------------------ Parsing code. 0.01 Compiling code. 0.04 Compiling layouts code. Error '=' expected. Error File: hjukrfr.bal Go to the designer script page to debug this error. ---------------------------------------------------------- Yes of course I went to the designer but there where no script to read or work with. I understand that the .bal file can't be edited outside Designer Is there any other way to trace this error and correct.? Perhabs I did not using the correct way in removing those buttons Regards Benni
klaus Expert Licensed User Longtime User Oct 24, 2014 #2 How did you remove it ? Can you post the bal file ? Upvote 0
B Bernhard Svavarsson Member Licensed User Longtime User Oct 24, 2014 #3 As said - via Designer - used the 'cut' opertion. Regards Benni Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Oct 24, 2014 #4 Please upload the layout file. Upvote 0
B Bernhard Svavarsson Member Licensed User Longtime User Oct 24, 2014 #5 Tested this with 'intact' SQLExample demo - got the same result Upvote 0
B Bernhard Svavarsson Member Licensed User Longtime User Oct 24, 2014 #6 Ouch! the file didn't upload but hopefully now Attachments main.bal main.bal 3.1 KB · Views: 347 Upvote 0
klaus Expert Licensed User Longtime User Oct 24, 2014 #7 In this layout file you have two layout variants. If you click on the 480x320. scale = 1 (160dpi) layout and you look at the Designer Scripts you have Code: Copy 'Variant specific script: 480x320,scale=1 btnEdit.Bottom = 50%y - 5dip btnDelete.Bottom = btnEdit.Top - 10dip btnFilter.Top = 50%y + 5dip btnSetFilter.Top = btnFilter.Bottom + 10dip But btnFilter and btnSetFilter don't exist any more !!! Upvote 0
In this layout file you have two layout variants. If you click on the 480x320. scale = 1 (160dpi) layout and you look at the Designer Scripts you have Code: Copy 'Variant specific script: 480x320,scale=1 btnEdit.Bottom = 50%y - 5dip btnDelete.Bottom = btnEdit.Top - 10dip btnFilter.Top = 50%y + 5dip btnSetFilter.Top = btnFilter.Bottom + 10dip But btnFilter and btnSetFilter don't exist any more !!!
B Bernhard Svavarsson Member Licensed User Longtime User Oct 24, 2014 #8 Yes when I removed the buttons: btnFilter and btnSetFilter I also removed the script for these buttons but the same compile error came up. I will test this again and see if there are some mistakes done in removing those buttons and script. Thanks Regards Benni Upvote 0
Yes when I removed the buttons: btnFilter and btnSetFilter I also removed the script for these buttons but the same compile error came up. I will test this again and see if there are some mistakes done in removing those buttons and script. Thanks Regards Benni
B Bernhard Svavarsson Member Licensed User Longtime User Oct 24, 2014 #9 Ok - found out - there where some scripts (broken) in the 480x320. scale = 1 (160dpi) layout which was not compleetly remowed. Thanks to you Klaus for the support. Regards Benni Upvote 0
Ok - found out - there where some scripts (broken) in the 480x320. scale = 1 (160dpi) layout which was not compleetly remowed. Thanks to you Klaus for the support. Regards Benni