🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: cs.works.next
Article #3

What am I doing wrong.

#3
From: Yufeng Tsui
Date: Wed, 02 Aug 1989 05:52
19 lines
1293 bytes
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)
Technical Details
Message-ID: <24163@iuvax.cs.indiana.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!iuvax!daemon

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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