Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can you select items in a listbox by value?
Message
De
14/12/2000 14:47:28
 
 
À
14/12/2000 14:42:13
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00453572
Message ID:
00453579
Vues:
28
>What I want to do is select an item in a listbox by specifying a string value that I know should exist somewhere in the list. I do not know the ItemID or the specific nIndex because the RowSource is a field of a table.

How about just setting the Value property then?

>If I move the record pointer in the table, the listbox does not move to the row with the corresponding value.

Do you have the control source set too? The RowSource defines the list, the ControlSource is the value of that list. If it is set, do you refresh() it after moving the pointer?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform