Project

General

Profile

Actions

Bug #1011

closed

WScrollBar->setValue()

Added by Anonymous about 13 years ago. Updated about 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Pieter Libin
Target version:
Start date:
10/04/2011
Due date:
% Done:

0%

Estimated time:

Description

Dear Koen,

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:

http://redmine.webtoolkit.eu/attachments/463/proba.cpp

Thanks in advance!

Daniel

Actions #1

Updated by Koen Deforche about 13 years ago

  • Status changed from New to InProgress
  • Assignee set to Pieter Libin
  • Target version set to 3.2.0

Is probably a duplicate of #1001

Actions #2

Updated by Pieter Libin about 13 years ago

This is fixed now.

Make sure to express the value in pixels though.

Actions #3

Updated by Pieter Libin about 13 years ago

  • Status changed from InProgress to Resolved
Actions #4

Updated by Koen Deforche about 13 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF