Click to See Complete Forum and Search --> : Scrollbars


medleyj
May 1st, 2001, 08:03 AM
Does anyone know why the sliders on scrollbar controls blink and if there is any way to stop it?

Thanks in advance.

shree
May 1st, 2001, 09:06 AM
The Scroll thumb blinks when the scroll bar has got focus. To prevent it, set the focus to another control on your form as soon as the scroll bar gets the focus.

Say, your form has a picturebox Picture1 and a scroll bar HScroll1. Then


private sub HScroll1_GotFocus()
Picture1.SetFocus
end sub