Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Listbox
Message
De
30/12/2000 12:19:27
 
 
À
30/12/2000 11:19:38
Steven Dyke
Safran Seats USA
Texas, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00458087
Message ID:
00458097
Vues:
15
Hi,

How is the listbox populated? Is it based on a cursor created from a SELECT using the textbox value in the WHERE. (Tried this and couldn't replicate your problem.) Is TableBuffering on? If it is and the listbox query is based on a buffered table that hasn't been updated this could cause sporadic (when textbox value changed) incorrect results in the list when navigating through records.

Bill

>I have a list box that is populated depending on a certain value in a text box. Each time I press a nav button a method runs that updates the listbox. My problem is this: If I select an item in the list box then move back a record or forward a record the item selected will be the first item in the supposedly updated listbox even though that item is not supposed to be there. Somehow its holding on to the selected item and displaying it again. How can I make sure this listbox is displayed properly? Note: this this is a sparadic problem for some reason.
Bill Leber
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform