Dim Label1 As Label
Label1.Initialize("")
Label1.Text = "this is a long sentence, and we need to " _
& "know the height required in order To show it completely."
Label1.TextSize = 20
Activity.AddView(Label1, 10dip, 10dip, 200dip, 30dip)
Dim su As StringUtils
Label1.Height = su.MeasureMultilineTextHeight(Label1, Label1.Text)
No such luck. There is one Dim su statement in my entire code. I put one in globals and removed all others to see if the problem would change. Nothing changed.
I tried your code and it compiles perfectly.
I look for the "MyClasses.csv" file but I suppose you keep your device, so I could not run it.
But I can say that is compiled perfectly
I tried it on another of my computers. That one has B4A version 6.80. It works.
My normal computer has 6.80 Beta #3. It does not work. I am trying to switch my main computer to 6.80 non-beta. Will post results.