nullPointer a écrit :
>
> The problem is than scroller left never change when scrollbar is scrolled.
> I´m seeing the state of scrollpane and don´t see a change in a var when is
> scrolled. My purpose with that is change position of row header to same X of
> rows panel.
>   
Hi nullPointer,

argh, yes, you're right, sorry for this bad answer :(
The good answer is that you can use the scroller offset.
In order to update the position of the header when the horizontal 
scrollbar is changed,
you can redefine Scrollpane>>hScrollBarValue:

YourGridClass>>hScrollBarValue: scrollValue
    super hScrollBarValue: scrollValue.
    self updateHeader "makes use of 'scroller offset x' in order to 
change header position"

hope that it will help this time.

Cheers
Alain



_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to