Path: utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!ames!pasteur!agate!ucbvax!dewey.soe.berkeley.edu!oster From: oster@dewey.soe.berkeley.edu (David Phillip Oster) Newsgroups: comp.sys.mac.programmer Subject: Re: List Manager Problem Keywords: combining text and graphics. Message-ID: <27193@ucbvax.BERKELEY.EDU> Date: 20 Dec 88 22:12:31 GMT References: <221@dalcsug.UUCP> Sender: usenet@ucbvax.BERKELEY.EDU Reply-To: oster@dewey.soe.berkeley.edu.UUCP (David Phillip Oster) Organization: School of Education, UC-Berkeley Lines: 8 Here is how you mix text and graphics in a LDEF: Create a record that has everything the LDEF will need to do the drawing (for example, it might be a polygon followed by a string.) Just set the cell to the entire record. Watch your step if the data needs to be aligned to word boundaries (because it has integers in it) but might be odd in length (because it has strings in it.) If this can happen, you should pad so you always call LSetCell with an even count. Or, you can set the cell to a pointer to the record.