Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Moving highlight bar in a listbox
Message
De
07/09/2007 08:30:59
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
01252828
Message ID:
01252957
Vues:
15
>>>I have a search box for user to enter a S/N. I want to search on it and have the listbox go to that record and highlight that particular row. Easy?
>>
>>Yes. Just set the list's ListIndex to the correct row. How you find that depends on the RowSourceType.
>>
>>Tamar
>
>I use rowsourcetype =3 SQl statement.
>So just a matter of issuing thisform.mylistbox1.ListIndex=some_number ?
>

Moving the record pointer may be enough. I never use the table-based RowSourceTypes, so I'm not sure. If not, set ListIndex to RECNO("the cursor").

Tamar
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform