Code: Select all
put (0,0,the formattedwidth of control pName,the formattedheight of control pName) into tRect
mobileControlSet pName, "contentRect", tRect
The only way I can solve it, is by manually calculate the total height by rowheight * number of rows, and use
Code: Select all
set the height of group "dgList" to iHeight
But are there any better ways?