Android Question Strange compile error - can't trace

Bernhard Svavarsson

Member
Licensed User
Longtime User
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
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
B4X:
'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

Bernhard Svavarsson

Member
Licensed User
Longtime User
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

Bernhard Svavarsson

Member
Licensed User
Longtime User
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
Top