I use vertical scroll bar to scroll through a picture box and fill up the change procedure as follows :
Private Sub VScroll1_Change()
i = i + 1
But when I click the arrow ( upper or lower arrow ) or click the scroll bar once, it always scroll the value two times ( so call the proc1 two times ). When I put a checking integer i to check, the value of i also increment twice. However, when I insert a breakpoint at the end of the change procedure, the result return to normal. ( call the proc1 once, i value increment by one )
Does anybody know the reason ?