knowledge-database (beta)

Current group: comp.soft-sys.powerbuilder

Vertical scrollbar on DW scrolls too far

Vertical scrollbar on DW scrolls too far  
Dan
From:Dan
Subject:Vertical scrollbar on DW scrolls too far
Date:20 Jan 2005 07:25:44 -0800
I am using powerbuilder 9.0.1. I don't know what other versions this
is a problem in, but I thought I'd give this little word of warning: I
had two problems with a vertical scrollbar on a datawindow after the
datawindow was resized to a smaller height. First, when I clicked on
an arrow, it would scroll too far (more than a visible 'page'.)
Second, when I clicked in the gray/white area of the VScrollBar, the
scroll would just return to the top of the dw. I was able to solve
these problems by resizing the rows using
"this.object.datawindow.detail.height=..." instead of
"this.SetDetailHeight(...)" I assume this is a PB bug where the
properties of scrollbars don't get updated when using the
SetDetailHeight function.

So I hope my expierience helps anyone else that might have this
problem.

Dan
   

Copyright © 2006 knowledge-database   -   All rights reserved