Hi all, i am trying to use this class in a B4i project, i just downloaded the class and the B4A Example, everything works as expected in the B4A example, but i get an error when trying to compile, and it has to do with the Font file being used, Erel is using a font file named Crystal.ttf which he mentions needs to be copied to the /Special folder inside the Files folder.
I have copied that file and I have also added the following to the main Module
But the project is still not compiling and telling me the error is at this line in the Gauge.bas class.
Any ideas why this fails, the Crysta.ttf file has been copied to the Special folder and the #AppFont attribute has been added to the Main Module.
Walter
I have copied that file and I have also added the following to the main Module
Font file:
#AppFont: Crysta.ttf
But the project is still not compiling and telling me the error is at this line in the Gauge.bas class.
Error:
#else if B4i
NativeFont = Font.CreateNew2("Crysta", 20)
#End If
Any ideas why this fails, the Crysta.ttf file has been copied to the Special folder and the #AppFont attribute has been added to the Main Module.
Walter