Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
List box - selected item
Message
De
27/09/1998 12:48:37
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
 
 
À
26/09/1998 08:30:36
John Thomason
King Richard Veterinary Centre
Leicester, Royaume Uni
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00141114
Message ID:
00141245
Vues:
18
I *think* that you will need to loop through the listbox to find the entry that matches what the user typed in the textbox and set the selected property for the listitem to .T.

Also, I you think about manipulating (selecting) the listbox rather than worrying about the record pointer underlyng the listbox.

>...snip
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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform