[comp.sys.next] What am I doing wrong.

tsui@silver.bacs.indiana.edu (Yufeng Tsui) (08/02/89)

I have lots of headaches playing with ScrollViews and Boxes.
When I create a scrollView object and set its docView to a matrix,
the scrollView works fine, I can see the matrix scrolls smoothly.
But when I create a scrollView and set its docView to another view,
say hugeView and I use addSubviews to add several boxes to this hugeView
( the boxes contentView are some other matrices), all the matrices 
disapeared during the scroll,though I can still see the boxes!  How come? 
In all cases, I setAutodisplay:YES to all views , setDisplayOnScroll:YES
to all ScrollViews and I even set all the above to the contentView of the
boxes(not displayOnScoll, though)!  I still can not see what are in the
boxes untill a display is sent to all. What is going on? What should I
do to get the matrices displayed during scroll?  Please help me...
Don't just leave me in the darkness...

Thanks in advance
--yufeng
tsui@silver.bacs.indiana.edu
tsuiy@iubacs.indiana.edu(bitnet)