Bug? LogColor and double CRLF truncates long

lemonisdead

Well-Known Member
Licensed User
Hello,

Absolutely not critical as the workaround is to cast the long to string before to pass it to the LogColor.

B4X:
    Dim Now As Long =DateTime.Now
    Log(Now)
    LogColor(Now,Colors.Blue)
  
    Log(DateTime.Time(Now))
    LogColor(DateTime.Time(Now),Colors.Blue)
  
    LogColor(DateTime.Now & CRLF & CRLF, Colors.Red) 'truncates
    LogColor(Now & CRLF & CRLF, Colors.Red) 'truncates


And it is perhaps not a bug or something I surely did forget :)
 
Last edited:

LucaMs

Expert
Licensed User
I was curious to know if the problem was only the LogColor statement or also the Log.

Probably B4A is slightly color blind and hates the colors :p
 
Top