01-26-2013 08:46 PM
Hello.
I tried the code below to get a webview that can scroll its contents if its too big to show on screen at once.
Unfortunately it doesnt allow the user to scroll. It shows as if I hadnt used a scrollview at all.
Am I doing something silly? Is this not the way one is supposed to use a ScrollView?
Thanks very much in Advance.
//------------------------------------------------
WebView* Wv = new WebView();
Wv->setUrl(QUrl("http://208.74.204.192/t5/Cascades-Development/webV
ScrollView * Sv = new ScrollView();
Sv->setContent(Wv);
Sv->scrollViewProperties()->setScrollMode(ScrollM
Wv->setVisible(true);
Page *Pg = new Page();
Pg->setContent(Sv);
Application::instance()->setScene(Pg);
01-26-2013 09:10 PM
You can try this
scrollViewProperties {
scrollMode: ScrollMode.Both
} https://developer.blackberry.com/cascades/referenc
01-27-2013 01:20 AM
I've played around a bit with an ImageView wrapped in ScrollView and I believe my code looks fundamentally similar. The main difference is that my ScrollView is in a Container. Not sure what (if any) difference that might make.