CompuServe Thread

Forum unknown · 2.0 Programming

#2.0 ListView Gadgets

7 messages in this thread
#20943From: Harold ScaddenFeb 29, 1992 1:31 PM
I have been trying to get a ListView gadget to work for about a week now. My problem is I can figure out how to attach an exec List to the gadget. I know what it says in the ROM Kernal manual but I can't get anything to work. This is where I run into the problem at: struct List TestList; I have used NewList() to set up TestList and then I have looped until I got all the data linked in from an character array for ln_Name. by setting the applicable data and using AddTail() struct TagItems Test[] { {GTLV_Labels, xxxxxx}, {TAG_DONE} }; Where the xxxxxxx is I have tried the following: TestList &TestList (struct List *) TestList and so on … I am getting burnt out. Anyone had any luck or got any ideas?
#20954From: KEITH YOUNGFeb 29, 1992 4:47 PM
Harold, I've whipped up a (minimal) example and e-mailed it to you. Lemme know if you need more help. Cheers, Keith
#20956From: Harold ScaddenFeb 29, 1992 6:14 PM
Thanks for the code .. will let you know if I get into more trouble.
#20965From: KEITH YOUNGFeb 29, 1992 10:34 PM
Sure thing… btw, that source file uses 3-space TABS.
#20965From: KEITH YOUNGFeb 29, 1992 10:34 PM
Sure thing… btw, that source file uses 3-space TABS.
#20956From: Harold ScaddenFeb 29, 1992 6:14 PM
Thanks for the code .. will let you know if I get into more trouble.
#20954From: KEITH YOUNGFeb 29, 1992 4:47 PM
Harold, I've whipped up a (minimal) example and e-mailed it to you. Lemme know if you need more help. Cheers, Keith