Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ListBox control
Message
De
26/06/1996 09:16:06
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00002923
Message ID:
00002966
Vues:
30
The way to change the highlighted (selected) item in a list box is to change the selected() index property to true.
For example if you want indexed item number 10 to be selected for a list box named list1, do:
THISFORM.LIST1.SELECTED(10)=.T.

Or maybe something more generic!
HTH

>>Scot
>>
>>Refresh()?
>>
>>Tom
>
>Tom,
>
>Nope, I'm already doing that. It does update the
>list when a new item is added or when one is
>modified or deleted, but it does not give the
>correct row "focus". I've done this with a grid,
>so maybe I'll just switch to that.
>
>Thanks a
Michael P. Haake
FoxPro Programmer
"Doing the best I can!"
** Retired Air Force **
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform