Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
List box - selected item
Message
De
26/09/1998 08:30:36
John Thomason
King Richard Veterinary Centre
Leicester, Royaume Uni
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Titre:
List box - selected item
Divers
Thread ID:
00141114
Message ID:
00141114
Vues:
50
I am using a list box to look up information in another table. The idea is that on entry to a text box an associated list box should open displaying lookup values which start at the value already displayed in the text box. The lookup table is a list of increasing numbers ie 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 65. The rowsource of the list box is set to a view of the table and I have used code to move the record pointer in the view to the same value as the text box. What I can't do is get the list box to select this value on being displayed. For instance, if the value in the text box is 48 I want 48 to be highlighted in the list box so that if I only wanted to change the value in the text box by one in the series i.e. 50 from 48 I would only have to move the record pointer in the list box down one record rather than from the start of the list.
Can anyone help?

J.Thomason
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform