Date: Wed, 5 Oct 2005 12:27:18 -0500 (CDT) From: Mark Jacobson To: 810-030-01@uni.edu Subject: Vertical Scroll Bars... 2 E and 5 P Hi VB students, The following will help you for your Dancing U N I program and the vertical scroll bar for changing the speed of the dancing. There are two events: Change event and Scroll event There are five properties: Min, Max, LargeChange, SmallChange, Value - - - - - - 2 Events and 5 Properties and 0 Methods P M E - - - - - - Private Sub vsbSpeed_Change() lblSpeed.Caption = vsbSpeed.Value ' Display the current value to ' the user - somewhere between ' Min (25 perhaps) and ' Max (2000 perhaps). Timer1.Interval = vsbSpeed.Value ' Speed UP or Slow DOWN the ' Timer to the new setting... End Sub Private Sub vsbSpeed_Scroll() <----- For when the user vsbSpeed_Change drags the THUMB of End Sub the scroll bar... Dragging the THUMB is a SCROLL event... Clicking the large change areas or the small change arrows is a CHANGE event... Letting up the mouse after dragging the THUMB is also a CHANGE ----- event... Mark