Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ListBox TopItem
Message
From
01/05/2002 02:25:00
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00651191
Message ID:
00651213
Views:
10
>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?
with myList
 lnIndex = .ListIndex
 .ListIndex = .ListCount
 .ListIndex = lnIndex
endwith
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform