Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Listbox making me listen
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00303114
Message ID:
00303129
Vues:
19
>I have a listbox problem. It should be a peesacake, but I am getting tired of it. I add list items to a listbox interactively by pressing a command button called Add to Listbox.
>
>As I press Add to add listbox items, the list in the listbox shows 1, then 1, 1, 2, then 1, 1, 2, 1, 2, 3. If I choose any of the 1s in the listbox it takes me to the correct record. Same when I choose 2 or 3 in the listbox.
>
>I thought I could do ListIndex = 1 and reset the listbox to the top.
>I also tried clearing the listbox first. When I did ListIndex = 1 it did take me to the top of the listox, but I still have all of those repeats in the listbox. What am I doing wrong? I checked several books, but don't see the problem.
>
>Please and thank you.
>
>Steve Kramer
>Kramer & Kramer Design
>"VFP doesn't like me tonight!"

Please, post the code from Button.Click event.
Edward Pikman
Independent Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform