Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ListView Control
Message
De
14/09/2004 13:58:52
 
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Divers
Thread ID:
00941889
Message ID:
00942015
Vues:
25
You're welcome, Einar!! Glad I could help.

~~Bonnie



>Bonnie,
>Thanks for the reply and the solution. HideSelection and EnsureVisible was what I needed.
>Thank you for your help.
>
>Sincerely,
>Einar
>
>>Einar,
>>
>>You'll need to run the EnsureVisible() method. You'll also probably want these other properties set:
>>
>>this.oList.Scrollable = true;
>>this.oList.HideSelection = false;
>>
>>int count = this.oList.Items.Count - 1;
>>this.oList.Items[count].Selected = true;
>>this.oList.EnsureVisible(count);
>>
>>
>>~~Bonnie
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform