Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Panning a list box
Message
De
19/03/1998 19:43:12
Edward Crawford
City Facilities Management
Glasgow, Royaume Uni
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Panning a list box
Divers
Thread ID:
00085851
Message ID:
00085851
Vues:
69
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform