Hello Eric.
Or, what is the best method or event to set list item pics by traversing the list. this.click() don't work.I am a little confused by what you mean here. Do you eman that you want to programmatically select an item in the list? If so, just set the ListIndex to some number or alternatively set the list's Value to some value in the list.
If you mean that you want a listbox with pictures, you have to track selections in an internal array and add some code that gets called from click and keyPress to manage the pictures. FWIW, there is a ListBox class with checkboxes (like the view toolbars menu) in Chapter 5 of
1001 Things You Wanted to Know About VFP. I'm pretty sure that is one of the free sample chapters.