|Assignee:||Pieter Libin||% Done:|
I was trying to set the vertical scrollbar position using the setValue method, but unfortunately it didn't work.
The tie method works great, but the setValue not.
WScrollArea *sa = new WScrollArea();
sa->setWidth( 100 );
sa->setHeight( 100 );
// adding WContainerWidget with text to WScrollArea
sa->verticalScrollBar()->setValue( 50 );
May be I've forgot something to type?
Could you give me any advise to solve this problem?
Here is my example:
Thanks in advance!