Project

General

Profile

Actions

Bug #1011

closed
PL

WScrollBar->setValue()

Bug #1011: WScrollBar->setValue()

Added by Anonymous almost 15 years ago. Updated almost 15 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

KD Updated by Koen Deforche almost 15 years ago Actions #1

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

Is probably a duplicate of #1001

PL Updated by Pieter Libin almost 15 years ago Actions #2

This is fixed now.
Make sure to express the value in pixels though.

PL Updated by Pieter Libin almost 15 years ago Actions #3

  • Status changed from InProgress to Resolved

KD Updated by Koen Deforche almost 15 years ago Actions #4

  • Status changed from Resolved to Closed
Actions

Also available in: PDF Atom