Dim DescrHeight as float
....
pnlMovie.AddView(lblDescr,0,0,10,-2)
....
' Reading data from database
lblDescr.Text=Cursor1.GetString("descr") ' <-- The text is about 100 characters long, not empty
....
' Resizing views to fit into panel
PW=pnlMovie.Width: PH=pnlMovie.Height ' <-- The panel is about 400 x 700
lblDescr.Left= pw * 0.02: lblDescr.Top=ivPoster.Top + ivPoster.Height + Margin
lblDescr.Width= pw - 2 * margin ' <-- Margin is 5px
DoEvents
Reflect.Target=lblDescr
DescrHeight=Reflect.RunMethod("getHeight")
Msgbox(DescrHeight, lblDescr.Height )