|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
How to scroll listview (details)In the listview control I can set the highlighted item with
listview.focus() listview.items(integerValue).selected=true How do I programmatically scroll the pane of the details view to bring the highlighted item into the window? multiselect is false. "Rich Raffenetti" <rich@raffenetti_takethisout.com> wrote in message listview.selecteditem.EnsureVisiblenews:OoJsgE5LIHA.4688@TK2MSFTNGP06.phx.gbl... > In the listview control I can set the highlighted item with > > listview.focus() > listview.items(integerValue).selected=true > > How do I programmatically scroll the pane of the details view to bring the > highlighted item into the window? > > multiselect is false. > >
Show quote
Hide quote
"Lloyd Sheen" <a@b.c> wrote in message Thanks. I found it in "help" to benews:%23jnIwJ5LIHA.4196@TK2MSFTNGP04.phx.gbl... > > "Rich Raffenetti" <rich@raffenetti_takethisout.com> wrote in message > news:OoJsgE5LIHA.4688@TK2MSFTNGP06.phx.gbl... >> In the listview control I can set the highlighted item with >> >> listview.focus() >> listview.items(integerValue).selected=true >> >> How do I programmatically scroll the pane of the details view to bring >> the highlighted item into the window? >> >> multiselect is false. >> >> > > listview.selecteditem.EnsureVisible > listview.EnsureVisible(integerValue) EnsureVisible was the key. Works great!
Removing reference type members from a generic list clone
vs2008 or not Creating a Web Service (Service, not Client) from WSDL Trouble with sendkey TAB Reurning Arrays Question about Application Layout Editing an indexed PixelFormat Saving an image from a picturebox Where are use scoped settings stored? Please vote for rendering bug (loss of AlphaChannel) for ico-files! |
|||||||||||||||||||||||