Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ListView Control
Message
From
14/09/2004 13:58:52
 
General information
Forum:
ASP.NET
Category:
Forms
Miscellaneous
Thread ID:
00941889
Message ID:
00942015
Views:
24
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
Previous
Reply
Map
View

Click here to load this message in the networking platform