Hi,
I did a find&replace of "panel" to "scrollview" in the SlidingPanels project, renamed SlidingPanels.bas to SlidingScrollviews.bas, and changed panels(i).AddView to scrollviews(i).Panel.AddView.
The other change I needed was to change
panels(i).Initialize("panels")
to
scrollviews(i).Initialize(0)
My question is - how am I meant to know that panel.Initialize() takes a string parameter but scrollview.Initialize() takes a numeric parameter. I haven't been able to find this in the documentation, and although I got there by guesswork that doesn't seem very satisfactory.
The whole Initialize thing is a bit of a mystery to me. Is there an explanation anywhere of what it is doing and why it is required.
Thanks
John
I did a find&replace of "panel" to "scrollview" in the SlidingPanels project, renamed SlidingPanels.bas to SlidingScrollviews.bas, and changed panels(i).AddView to scrollviews(i).Panel.AddView.
The other change I needed was to change
panels(i).Initialize("panels")
to
scrollviews(i).Initialize(0)
My question is - how am I meant to know that panel.Initialize() takes a string parameter but scrollview.Initialize() takes a numeric parameter. I haven't been able to find this in the documentation, and although I got there by guesswork that doesn't seem very satisfactory.
The whole Initialize thing is a bit of a mystery to me. Is there an explanation anywhere of what it is doing and why it is required.
Thanks
John