txt = File.ReadString(File.DirAssets, "Lesson8Notes.txt") ' load the text file into the string
pnlLesson8Notes.Top = 10%y
pnlLesson8Notes.Left = 10%x
pnlLesson8Notes.Width = 80%x
pnlLesson8Notes.Height = 80%y
lblLesson8NotesHeader.Width = 80%x
lblLesson8NotesHeader.Height = 20%y
lblLesson8Notes.Initialize(" ")
lblLesson8Notes.Font = Font.CreateNew2("schalk",20)
lblLesson8Notes.TextColor = Colors.White
lblLesson8Notes.Multiline = True
lblLesson8Notes.Width=scvLesson8Notes.Width
lblLesson8Notes.SizeToFit
scvLesson8Notes.Panel.AddView(lblLesson8Notes,0,0,80%x,60%y)
lblLesson8Notes.Text = txt
scvLesson8Notes.ContentHeight = lblLesson8Notes.Height
scvLesson8Notes.ScrollOffsetY = 0