[Project_owners] Scrolling a horizontal scrollbox

Michiel van Leeuwen mvl at exedo.nl
Fri Jun 3 00:20:10 EDT 2005


Brian King wrote:

> scrollbox.boxObject.QueryInterface(Components.interfaces.nsIScrollBoxObject); 
>
>     scrollboxObj.getPosition(x, y);

ScrollBoxObject isn't fully implemented. Since bug 52140 was fixed a few 
more things are implemented now, and some other now use sane units, so 
you could try this with a more recent build.
Hmm, now that i look closer, GetScrollPosition was already implemented, 
but returned twips. Maybe the small values got lost in rouding. Still 
worth a try with a new build.

Michiel


More information about the Project_owners mailing list