Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
List box & go top
Message
From
21/03/2000 11:01:24
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
List box & go top
Miscellaneous
Thread ID:
00348398
Message ID:
00348398
Views:
46
Hi All,

I have a list box with several items in it. When I clear all the selected items I would like to have the listbox display at the top of the list. But it stays at the bottom. What can I put after the following code to make it return to the top without selecting the 1st item???

FOR cntr1 = 1 TO THISFORM.lststatus.LISTCOUNT
THISFORM.lststatus.SELECTED(cntr1) = .F.
ENDFOR
THISFORM.REFRESH

TIA
MIke
Next
Reply
Map
View

Click here to load this message in the networking platform