Path: utzoo!attcan!uunet!husc6!rutgers!tut.cis.ohio-state.edu!ucbvax!hoptoad!tim From: tim@hoptoad.uucp (Tim Maroney) Newsgroups: comp.sys.mac.programmer Subject: Re: List Manager Problem Message-ID: <6756@hoptoad.uucp> Date: 12 Mar 89 17:58:09 GMT References: <11032@ut-emx.UUCP> <6704@hoptoad.uucp> <11103@ut-emx.UUCP> <6730@hoptoad.uucp> <27153@apple.Apple.COM> Reply-To: tim@hoptoad.UUCP (Tim Maroney) Organization: Eclectic Software, San Francisco Lines: 23 In article <27153@apple.Apple.COM> han@Apple.COM (Byron Han, wyl E. coyote ) writes: >In article <6730@hoptoad.uucp> tim@hoptoad.UUCP (Tim Maroney) writes: >>I think I've found the problem. I have never been able to get the List >>Manager to work with a rectangle of (0, 0, 1, 0) even though it's >>recommended in the documentation. >> ... >>Try it with a "SetRect(dataBounds, 0, 0, 1, 1);" and see if it works. > >Stating that you must create a list via LNew with a nonzero number of >cells is incorrect. I do it all the time with both standard and custom >LDEF's. Well, Byron, I've tried to do it time and again, as well as to remove cells in such a way that none are left in the list. I get crashes when I create it with (0, 0, 1, 0), and display anomalies when I remove the last cell of a list that was created originally with (0, 0, 1, 1). The crashes and anomalies go away when I make sure there is always one cell. I've done this with both standard LDEF 0 and my own LDEFs, which I've been writing for years now. -- Tim Maroney, Consultant, Eclectic Software, sun!hoptoad!tim "Please help support the moratorium on meaningless quotes in .signatures." -- Doug Asherman on rec.music.cd