Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!uwm.edu!zaphod.mps.ohio-state.edu!usc!snorkelwacker!husc6!unix!mxmora From: mxmora@unix.SRI.COM (Matt Mora) Newsgroups: comp.sys.mac.programmer Subject: Re: Listomania!! Message-ID: <8329@unix.SRI.COM> Date: 23 Jan 90 01:10:59 GMT References: <26163@cup.portal.com> Reply-To: mxmora@unix.UUCP (Matt Mora) Distribution: usa Organization: SRI International, Menlo Park, CA Lines: 41 I noticed two things. You created a one column list but didnot add any rows. In article <26163@cup.portal.com> Arthur_P_Bebak@cup.portal.com writes: >SetRect(&dataBounds,0,0,1,0); ^^^^^^^^ If you do it this way you must call LAddRow. or you can set the last value to the number of rows that you want. ( ex. if you want a list of 10 items then call Setrect(&databounds,0,0,1,10) ) or ... >SetPt(&theCell,0,0); >strcat(string,"Test1"); >CtoPstr(string); >LAddToCell(string,strlen(string),theCell,theList); Your adding data to no cells. You must first add some rows. try... Laddrow(count,rownum,thelist) Lsetcell(...) Sorry but I don't Know C well enought to fill in the blanks :-) -- ___________________________________________________________ Matthew Mora SRI International mxmora@unix.sri.com ___________________________________________________________