Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
List box & go top
Message
From
21/03/2000 11:11:39
Anthony Suarez
Black Marlin Data Corporation
Taguig, Philippines
 
 
To
21/03/2000 11:01:24
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00348398
Message ID:
00348406
Views:
23
try to issue "thisform.lstStatus.listindex = 0" after the refresh command

>> 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<<
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform