CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Win32 Programming Help:
populating ListView

 



tdicamillo
New User

Jul 22, 2010, 11:30 AM

Post #1 of 3 (6960 views)
populating ListView Can't Post

I have a ListView object, but how do I add strings to it? I want to be able to scroll through and select the strings I want, but after many attempts of different ways to populate the list, nothing shows up in the list.


Zhris
User

Jul 22, 2010, 4:22 PM

Post #2 of 3 (6934 views)
Re: [tdicamillo] populating ListView [In reply to] Can't Post

What code have you tried so far?

Chris


tdicamillo
New User

Jul 23, 2010, 6:11 AM

Post #3 of 3 (6867 views)
Re: [Zhris] populating ListView [In reply to] Can't Post

I figured it out... the trick was to first use InsertItem and then use SetItem to set the text for that item. Tried about 800 other combinations of InsertItem() and Add() before getting this. It makes sense now, but the documentation about ListView objects in PERL is pretty vague.

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives