From: | Neil Bullock |
Date: | 6 Sep 2000 at 15:35:31 |
Subject: | ListViews |
Hi,
I'm getting a bit annoyed by a GTListView I'm using in a program.
Basically, I've got
NEWTYPE.lview
dummy.w
entry.s
End NEWTYPE
Dim List guilist.lview(count) ; count is usually between 5 and 10
ResetList guilist()
This works. I can use that list in a GTListView.
It's when I want to add something to guilist() and update the listview that
is all goes wrong :) What is the correct way to do this? I obviously need to
increase the size of the linked list, so do I just do
Dim List guilist.lview(count+1) : ResetList guilist()
or is there a better way? If I do it like this, then add all the data into
the list again, including the new piece of data. Then, I do
GTChangeList 0,1
GTChangeList 0,1,guilist()
but the top few entries in the list are made up on 'non-printable'
characters (y'know what I mean? :) and stuff. I once had one of the entries
replaced by 'exec.library'.
And it's annoying me now :)
What do I do?
Neil Bullock
http://www.trogsoft.org
---------------------------------------------------------------------
To unsubscribe, e-mail: blitz-list-unsubscribe@netsoc.ucd.ie
For additional commands, e-mail: blitz-list-help@netsoc.ucd.ie