Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to update highlighted item in ListBox
Message
From
29/05/1997 09:50:36
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00033851
Message ID:
00034031
Views:
42
>>>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?

You can SET ORDER explicitly in the same Activate event.
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform