Article View: comp.sys.mac
Article #21355Re: Adding PICTs to Lists
From: mms
Date: Mon, 09 Nov 1987 09:26
Date: Mon, 09 Nov 1987 09:26
26 lines
1754 bytes
1754 bytes
In article <5803@jade.BERKELEY.EDU> jmm@thoth12.berkeley.edu () writes:
> How does one go about doing this?
The default LDEF (LDEF 0) will only display text lists. If you
want to display other things, or even more nicely formatted text,
you have to write your own LDEF. Read the section on this in IM4.
It's painless: you have only four messages to interpret (init,
draw, invert and close), and you can write a duplicate of LDEF 0
in next to no time.
The only thing you may have to be careful of if you're displaying
big PICTs is that there is an overall 32K limit on the amount of
data stored in the data handle of any given list. You can of
course get around this by storing the resource # of the PICT or
a handle to it instead of the actual data.
Now, a related question: Why, when you select a cell in a two-
dimensional list, does the cell below it occasionally flash?
Is there an easy fix? Am I doing something wrong?
John Chew
--
john j. chew (v3.0) poslfit@gpu.utcs.toronto.edu
+1 416 463 5403 (300/1200 bps) poslfit@utorgpu.bitnet
{cbosgd,decvax,mnetor,utai,utcsri,{allegra,linus}!utzoo}!utgpu!poslfit
"Script-G for open, sub-delta for durchschnitt"
Technical Details
Message-ID:
<1987Nov9.042635.14514@gpu.utcs.toronto.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!mmsReferences:
<5803@jade.BERKELEY.EDU>Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!utgpu!mms From: mms@utgpu.UUCP Newsgroups: comp.sys.mac Subject: Re: Adding PICTs to Lists Message-ID: <1987Nov9.042635.14514@gpu.utcs.toronto.edu> Date: Mon, 9-Nov-87 04:26:35 EST Article-I.D.: gpu.1987Nov9.042635.14514 Posted: Mon Nov 9 04:26:35 1987 Date-Received: Tue, 10-Nov-87 00:36:52 EST References: <5803@jade.BERKELEY.EDU> Reply-To: mms@gpu.utcs.UUCP (John J. Chew III) Organization: The Poslfit Committee Lines: 26 Checksum: 05281