Stop the Visual Basic scrollbar flashing

The problem with the Visual Basic Scrollbar is that it flashes. This is to indicate that it has focus. You can either set the Focus to something else on a form when the Scrollbar receives focus, or set the TabStop property to False:

Scrollbar.TabStop = False

You will need to have another control on the form. If there isn't one the scrollbar will continue to flash. A PictureBox is a good control for this because it can receive focus but has no visible indication of this.

taken from qbdsoftware.co.uk
Previous Post
Next Post
Related Posts