Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!iuvax!daemon From: tsui@silver.bacs.indiana.edu (Yufeng Tsui) Newsgroups: cs.works.next,comp.sys.next Subject: What am I doing wrong. Message-ID: <24163@iuvax.cs.indiana.edu> Date: 2 Aug 89 05:52:13 GMT Sender: daemon@iuvax.cs.indiana.edu Lines: 19 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)