Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Listbox: How to highlight the selected row
Message
 
 
À
16/04/2003 12:27:50
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00778405
Message ID:
00778903
Vues:
19
Hi Marcia,

On the spot! You saved the day, many thanks! :)

>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
>
Christian Isberner
Software Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform