Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Listbox: How to highlight the selected row
Message
De
16/04/2003 12:27:50
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00778405
Message ID:
00778424
Vues:
21
This message has been marked as the solution to the initial question of the thread.
Hi Chistian.

In the cursor PuPeople, I move to another record. The listbox should highlight this record. What do I need to do?

Does puPeople have a primary key? If it does, add it to the RowSOurce as the 4th column and just do not display it ( i.e., leave the listbox's ColumnCount property at 3 ). Set these properties on the ListBox
ColumnCount = 3
BoundColumn = 4 
BoundTo = .T.
This code after you move the record pointer:
Thisform.MyListBox.Value = puPeople.PrimaryKeyField
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform