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


Rupert Bates
November 10th, 1999, 05:03 AM
Does anyone know how to stop the little scrollbox tab thing on the intrinsic hscroll and vscroll controls from flashing? And no I can't use the flatscrollbar.

Lothar Haensler
November 10th, 1999, 06:32 AM
the box flashes only when the scrollbar has the focus.
Thus, set the focus to any other control in your form in case of a change or GotFocus event.
(assuming that there is a command1 control on your form)

private Sub HScroll1_Change()
Command1.SetFocus
End Sub

private Sub HScroll1_GotFocus()
Command1.SetFocus
End Sub