Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ListBox TopItem
Message
 
To
01/05/2002 07:35:00
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00651191
Message ID:
00651693
Views:
13
>>Has anyone found a way to set the selected item in a listbox to the top item without changing itemid or listitemid and without repoping the list? IOW, programatically scroll down until the selected item is topitem?
>
>I'm not totally clear what you're trying to do, but can you just set the TopItem property?
>
>Tamar

TopIndex and and TopItemId are read-nowrite at runtime. Cetin's code works, however it leaves the bottom item highlighted when multiselect is true.
Eric Kleeman - EDS Consulting Services
MCP Visual FoxPro
MCSD C#.NET
Hua Hin Thailand
Los Angeles California
Previous
Reply
Map
View

Click here to load this message in the networking platform