Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Panning a list box
Message
From
19/03/1998 19:43:12
Edward Crawford
City Facilities Management
Glasgow, United Kingdom
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Panning a list box
Miscellaneous
Thread ID:
00085851
Message ID:
00085851
Views:
73
I wrote a progressive search class that look at the ListItem text:
ei. In the InteracticiveChange Event of a textbox:

FOR x = 1 TO this.parent.lstShow.ListCount
IF UPPER(ALLTRIM(this.value)) == ; UPPER(SUBSTR(this.parent.lstShow.List(x), 1, ; LEN(ALLTRIM(this.value))))

this.parent.lstShow.Selected(x) = .T.
EXIT
ENDIF
ENDFOR

The found item is selected, but the window does not pan down to the selection. Is anyone aware of how to make the window pan down to a ListItemIndex or to a selection?

Ed
Next
Reply
Map
View

Click here to load this message in the networking platform