Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to update highlighted item in ListBox
Message
 
À
28/05/1997 11:39:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00033851
Message ID:
00034029
Vues:
39
>>I have a data entry form with a 2 page pageframe on it. Page 1 contains all the objects for data entry and page 2 contains a listbox for navigation. The listbox's RowSourceType is Fields. When I choose a selection in the listbox the record pointer changes and I refresh page 1. This is fine. If the user steps through records on page 1 and then selects page 2 the choice highlighted is the last one selected. How do I make it highlight the choice for the current record?
>
>Reset List.Selected() property in Page2.Activate event.

Thanks Edward. This solves the problem of what to do but brings up another. Page1 has the index on Catagory#+Subcategory# and page2 has the index on Lastname+Firstname. How do I determine what the index number for the .Selected() property should be when the user Activate's page2?
Colin Magee
Team Leader, Systems Development
Metroland Media Group Ltd.
Mississauga, Ontario, Canada

cmagee@metroland.com

Never mistake having a career with having a life.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform