Peter,
> I want to create a scrolling view. I have created a ScrollingDecorator as a
> child
> of my main view. When I run this I get the following exception:
>
> 10:18:36, 20 May 2004: 'UndefinedObject does not understand
> #preferredLayoutExtentOf:'
> UndefinedObject(Object)>>doesNotUnderstand:
> ScrollingDecorator>>updateScrollBars
> ScrollingDecorator>>placement:
> ScrollingDecorator(View)>>restorePlacement:resolution:
> ScrollingDecorator(STBViewProxy)>>restoreView
> [] in ShellView(STBViewProxy)>>restoreView
> OrderedCollection>>do:
>
> How can I properly implement a scrolling view?
My guess is that you nilled the layout manager of the decorator. It
might be easiest to delete it and paste another.
The idea is to put a view inside the ScrollingDecorator, and the
scrolling is fairly automatic from that point. Take a look at Ian's
archives for specifics on caculated extents, etc. Also, look for
#usePreferredExtent.
Have a good one,
Bill
--
Wilhelm K. Schwab, Ph.D.
[hidden email]