how do i...

Jason McVay jmcvay at bigfoot.com
Thu Oct 14 03:56:02 UTC 1999


hey all--

i'm wanting to create a sortable, multi-column list morph like the macOS
finder has. i started out by using an AlignmentMorph and then plugging in
PluggableListMorphs. i got it working, but when i move a scrollbar in one
list, the other lists--of course--don't scroll accordingly. how do i make
the other lists scroll when i scroll one of them. can anybody help me out on
this?

also, where should i implement the sorting behavior (i intend to use Peter
Lount's SortCriteria to sort)? should it be in the model (i questionably
think that would be wrong) or should i include that in the morph i'm
building?

as an aside: when i was looking at the ScrollPane class, i noticed that the
instance variable 'scrollBarHidden' is declared but is not used anywhere. i
know how to make the scroll bars hidden when the scroll bar is retractable,
but i don't know enough to modify the class to operate correctly when the
scrollbar is embedded.

any and all help is appreciated,
jason





More information about the Squeak-dev mailing list