Problem with Layout

billborric

Member
Licensed User
Longtime User
Hi,

Used Designer to create a layout (Layout1.bal).

Program compiles OK, but debugger throws the following error...

java.io.FileNotFoundException: layout1.bal

...I have the following code...

Sub Activity_Create(FirstTime As Boolean)
Activity.LoadLayout("Layout1")
End Sub

...hope someone can help out.

Thanks
 

billborric

Member
Licensed User
Longtime User
Thanks Erel
The problem turned out to be me using a mixed case layout name. Changed to all lower case and now OK.
 
Upvote 0
Top