i=numeropost
totalealt=0
Do While i<>0
lbltesto(i).Initialize("lbltesto"&i)
lbltesto(i).Text=strpost(i)
altezza=10%y
'altezza = sutils.MeasureMultilineTextHeight(lbltesto(i),lbltesto(i).Text)
'altezza=lbltesto(i).Height
pannello(i).Initialize("p"&i)
pannello(i).AddView(lbltesto(i),0,totalealt,100%x,altezza+2%y)
pannello(i).Visible=True
totalealt=totalealt+altezza+2%y
csl.Add(pannello(i),altezza+2%y,"POST "&i)
i=i-1
Loop