TopOfLine = y
Dim l As Label
l.Initialize("")
l.Gravity = Gravity.Left
l.TextSize = 32
l.TextColor = Colors.White
A = s.IndexOf2("|",0)
A = s.IndexOf2("|",A+1)
B = s.IndexOf2("|",A+1)
n = i+1
l.Width = w ' *********** blows up here! ***********************
l.Text = n & ". " & s.SubString2(A+1,B)
l.Height = su.MeasureMultilineTextHeight(l, l.Text)
svOrder.Panel.Height = svOrder.Panel.Height + l.Height
LabelList.Add(l)
svOrder.Panel.AddView(l,5,y,svOrder.Width-5,l.Height)
y = y + l.Height