Click to See Complete Forum and Search --> : Scroll bar flashing after any click event or after moving the bar.


cozner
June 20th, 2001, 12:25 PM
Any time I click or move the scroll bar I created, the actual bar flashes until I perform another click event on any object on the form. If anyone has seen this problem before I'd appreciated hearing the cause or possible solutions. THANKS ALOT.

peter

Ghost308
June 20th, 2001, 12:33 PM
I've seen this problem before in some other applications but I'm not sure exactly what causes it. Have you tried setting the focus to another control after the scroll bar event is completed?

SomeOtherControl.Setfocus

cozner
June 20th, 2001, 12:58 PM
thanks for your help. This worked and while its not the most desirable solution it is still a solution. If there are any other suggestions I would appreciate them however thankyou again Ghost

pete

John G Duffy
June 20th, 2001, 04:57 PM
ALl developers of Controls need to present a way to let you know that their Control has the Focus. Usually it is with a dotted rectangle around the control. Unfortunately The ScrollBar people decided it would be neat to blink at you instead, Kinda like those annoying lights on Cars nowadays that reside on the top of Trunks and blink whenever the drivers hits the brake pedal.
There are many replacements for this control. One at http://freevbcode.com/ShowCode.Asp?ID=664 that sems resonable. It's a big download and has many parts and ways to use its control but could be wittled down to just the core product.

John G