Hello to all,
I entered a customviewview in a scrollview and I have this problem:
when I add the lines to the grid
gridComunications.InsertAt (0, CreateListItem (Com), 153dip, Com)
the line has a height of 165dip, but if I add it with that height the lines are higher, why?
however, in this way I can have a good look and everything is fine if the height of the customlistview is greater than the height of the screen, the problem is when I have a few lines and then scrollview remains locked, but I need the scrollview to work however, because in the scroll up must update the elements.
I tried this way
svHome.ContentHeight = temp
If temp <svHome.Height Then
svHome.Panel.Height = temp - 1dip
svHome.Height = temp - 1dip
End If
that visually makes me run the scroll, but I do not fire the sv_ScrollChanged event and so it's useless.
Thank you.
I entered a customviewview in a scrollview and I have this problem:
when I add the lines to the grid
gridComunications.InsertAt (0, CreateListItem (Com), 153dip, Com)
the line has a height of 165dip, but if I add it with that height the lines are higher, why?
however, in this way I can have a good look and everything is fine if the height of the customlistview is greater than the height of the screen, the problem is when I have a few lines and then scrollview remains locked, but I need the scrollview to work however, because in the scroll up must update the elements.
I tried this way
svHome.ContentHeight = temp
If temp <svHome.Height Then
svHome.Panel.Height = temp - 1dip
svHome.Height = temp - 1dip
End If
that visually makes me run the scroll, but I do not fire the sv_ScrollChanged event and so it's useless.
Thank you.