Jason

Jason

  • NA
  • 3
  • 0

Increasing/Decreasing integers using a vertical scroll bar

Mar 21 2007 9:23 PM
Hello all, I am attempting to create something that will allow me to have an integer increase or decrease by one every time something such as a vertical scrollbar is hit up or down. pseudocode goes something like this: int targetNumber; if(vsscrollbar is clicked up) increase targetNumber; if(vsscrollbar is clicked down) decrease targetNumber; Is there any way to do this using the VSScrollBar? I'm not familiar with the control and I looked at it's properties and methods but all I could find was ValueChanged, which didn't get me very far. Any help is appreciated. Thanks

Answers (2)