Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Listbox: How to highlight the selected row
Message
From
17/04/2003 12:13:59
 
 
To
16/04/2003 12:27:50
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00778405
Message ID:
00778903
Views:
20
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
Previous
Reply
Map
View

Click here to load this message in the networking platform