Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ListBox Refresh
Message
De
14/05/1999 09:18:53
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00218676
Message ID:
00218957
Vues:
18
>I have a listbox with RowSource set to 6 (fields). WHen I view the form, the list is populated and displays fine if I use the down arrow on the keyboard to scroll to the bottom.
>
>However, if I use the scrollbar to scroll to the bottom, the list becomes jumbled and extra blank items are inserted into the list. What's more, the list items "change" value when I click on them with the mouse.
>
>I am doing a requery when the form loads.
>
>Any ideas?
>
>Thanks,
>
>Jeff Elmore

If you are listing 6 columns in your listbox, you may find it more productive to use a grid. My first question is what is the purpose of this list box? A listbox is best used for picking items from a list. If you are displaying information for the user, or allowing the user to edit the information, or if there is alot of information to display, it is generally easier to do with a grid. Of course with a grid you don't have additem() and deleteitem() methods to shoe horn rows into your object.

Regards,

Jason
Jason Tryon
Senior Systems Analyst / Technical Lead
eBusiness / iPage
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform