0

in a fDisplaySMSList Form , i have a pictureBox and VScrollBar

Image1

every data come in PictureBox the VScrollBar not automatically scroll to the bottom to new data. how to auto scroll to the bottom in VScrollBar?

------------------------Edit

i have a form SMS, like this,

enter image description here

when the new inbox or compose come in the form, the scroll always in the top, here the pict.

enter image description here

and the question is how to form VScrollBar go down when i sent or receive message like this,

enter image description here

Puja Surya
  • 1,155
  • 4
  • 20
  • 47
  • possible duplicate of [How to automatically scroll ScrollViewer - only if the user did not change scroll position](http://stackoverflow.com/questions/2984803/how-to-automatically-scroll-scrollviewer-only-if-the-user-did-not-change-scrol) – Sibster Feb 03 '14 at 09:50
  • 1
    @Sibster, not a dup, based on app icon, this one is in winform not wpf – Arsen Mkrtchyan Feb 03 '14 at 09:55
  • can you use Try using item.EnsureVisible() ? – Arsen Mkrtchyan Feb 06 '14 at 09:19

1 Answers1

0

Try to set ScrollBar.Value property

Also try calling ListView.EnsureVisible for the last ListViewItem, to which you want to scroll

Arsen Mkrtchyan
  • 49,896
  • 32
  • 148
  • 184