Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ListBox Click
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00602388
Message ID:
00602435
Vues:
24
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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform