Thanks yttrium
not sure what you mean in your code 'CRLF"
but i did get to work when I added this to my code.
Dim ht As Float
Activity.Title = "Current Tab = " & Host.CurrentTab
If Host.CurrentTab = 3 Then
DebugLabel.Text = DebugLabel.Text
ht=StrUtil.MeasureMultilineTextHeight (DebugLabel, DebugLabel.Text)+ 250
Debug_veiw.Panel.Height = ht
DebugLabel.Height = ht
Debug_veiw.ScrollPosition = 0
DoEvents
End If
thanks for the help.
Not sure if i would need to make a new thread for another question.
Is there a work around or a way to do a Vertical and a horizontal scroll view?