What exactly do you want to achieve, align?
Why do you want to set ScrollViewInnerPanel.Top?
Klaus,
I had an issue where a CLV was showing a list with an overly large space between the Title Label and the first item.
I was
clutching at straws with the
speculation that this could be caused by the ScrollViewInnerPanel sitting low in the sv. [Wrong]
I have fixed that problem with the change in code below. Comment out the lines that should align the sv with the CLV and the problem is gone.
AllListView.GetBase.Height = 100%y - AllListTitle.Height
AllListView.GetBase.Top = AllListTitle.Height
' AllListView.sv.Height = AllListView.GetBase.Height ''With these two lines removed all OK
' AllListView.sv.Top = AllListView.getbase.Top
I am still chasing an issue that only 5 of the items are displayed although there is screen space and the CLV dimensioned to use it.
I can't recreate the issue in a small project for upload.
That is a separate problem for a new thread if I can recreate the problem in a sample project.
Regards Roger
PS Change the two lines in question fixes it all round.
AllListView.sv.Height = AllListView.GetBase.Height
AllListView.sv.Top = 0