Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to set the vertical scrollbar on a ListView

Status
Not open for further replies.

ratjetoes

Programmer
May 24, 2002
30
NL
hi,

I would like to know how I can set the vertical scrollbar position on a ListView. I have a ListView which resembles a TreeListView. When you expand a node, the ListView is cleared and the extra items are added (I do not use Insert and Remove for specific reasons). What I would like to accomplish is that after the Redraw of the ListView the scrollbar is in the same position as before. How can I accomplish this?

T.i.a.,
ratjetoes.
 
hi jmeckley,

i already solved the problem. btw it was not for asp.net but windows forms.
 
my bad. I saw ListView, forgetting what forum I'm in, and throught html.

could you post your solution so other can benefit?

Jason Meckley
Programmer
Specialty Bakers, Inc.

faq855-7190
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top