RE: How do you populate a ListView?

new topic     » topic index » view thread      » older message » newer message

should be 
count = addLVItem(myLV, 0, {db_key,db_data})
You can replace the 0 with the id for an icon returned whith addIcon 
command

ronaustin at alltel.net wrote:
> I am trying to display the contents of a database using listview. I am
> looping through the database to populate the list box using this little
> snippette: 
> 
> count = addLVItem(myLV,1,db_key) 
> count = addLVItem(myLV,2,db_data) 
> Instead of getting the key in column1 and the data in column2 it is 
> putting
> the the first key in column one with it's data under it and then it puts 
> the
> second key in the first column with it's data under that. Nothing is 
> going
> into column 2. What am I doing wrong? 



Give your hardest tasks to your lasiest workers. 
They will always find the easiest way to complete it.

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu