CompuServe Thread

#Listview Arrays

2 messages in this thread
#37638From: David A SpakeNov 6, 1993 2:03 PM
I'm having a problem with LISTVIEW gadgets. I want to be able to have up to 10 of them at one time. I can handle the text reads, but how in the Nine Hells do I go about setting up the Node structure when I don't know how larg this thing is going to be? Should I use an AllocMem, or similar command to just change the size of the array before I start filling it? How do I Define the [0] element to point to a non-existant [1] element? Any help would be appreicated. TSM
#37640From: Troy BarlowNov 6, 1993 2:47 PM
David, Don't use a array, use a list. Add nodes to the list as you need them. You can use your own list functions, or the ones in exec.