error, but font is no longer used

marcick

Well-Known Member
Licensed User
Longtime User
Difficult to find a good title for this post ..

I was using before the font Roboto_regular.tff in my project.

B4X:
Dim Myfont As Typeface
Myfont = Typeface.LoadFromAssets("roboto-regular.ttf")
   For i = 0 To Activity.NumberOfViews - 1   
       If Activity.GetView(i) Is Label Then 
          Dim l As Label
           l = Activity.GetView(i)
           l.Typeface = Myfont
         l.TextSize=14
       End If
   Next

The font file was in the Files folder and this code was working fine

Now I no longer use this code, I have deleted it and also deleted the font file fron the folder.
I also used "clean project" and "clean file folder".
But everytime I open th eproject now, i get error (see attachment).
I click ok and everything continue without problem, but that msgbox is annoying.
No reference of "roboto" are still existing in my project, why I continue to receive that error ?
 

Attachments

  • Cattura.JPG
    Cattura.JPG
    24.9 KB · Views: 146

marcick

Well-Known Member
Licensed User
Longtime User
what a stupid ....:BangHead:
I was looking everywhere but not there ..
Thanks
 
Upvote 0
Top