If KnowHowTabHost.CurrentTab = 2 Then
Try
Activity.RemoveView
Activity.LoadLayout("tapecalc")
Activity.BringToFront
Catch As Exception
End Try
lblPaperRoll.Initialize("lblPaperRoll")
' scvPaperRoll.Panel.AddView(lblPaperRoll, 0, 0, 100%x, scvPaperRoll.Height)
' scvPaperRoll.Panel.Height = scvPaperRoll.Height
lblPaperRoll.TextSize = 22 * ScaleAuto
lblPaperRoll.Color = Colors.White
lblPaperRoll.TextColor = Colors.Black
imgCharSizeDown.Initialize(File.DirAssets, "btnCharSizeDown.bmp")
imgCharSizeUp.Initialize(File.DirAssets, "btnCharSizeUp.bmp")
bd1.Initialize(imgCharSizeUp)
bd2.Initialize(imgCharSizeDown)
sd.Initialize
Dim states(2) As Int
states(0) = sd.state_unchecked
states(1) = -sd.state_checked
sd.addState2(states, bd1)
Dim states(1) As Int
states(0) = sd.state_checked
sd.addState2(states, bd2)
btnCharSize.Background = sd
Dim clv3 As CustomListView
clv3.Initialize(Me, "clv3")
clv3.DefaultTextBackgroundColor = Colors.Black
CalcPanel.AddView(clv3.AsView, 0, 0, CalcPanel.Width, CalcPanel.Height)
End If