Form Flicker

gray

Registered User.
Local time
Today, 17:04
Joined
Mar 19, 2007
Messages
578
Hi

Access2002/2007
WinXPPro SP3

I've a form with a tab control and 4 or 5 tabs. Each tab has a subform on it which is populated as its tab is clicked. This causes quite a lot of screen flicker as scroll bars and the like set themselves up.

Just wondered if anyone could advise the best main-form events to place me.painting=false and me.painting=true?

Some of the mousedown/keydowns don't fire and I think it's too late to put a False in the tab click (and, equally, too early to put the corresponding True at the end of it).

Any advice please? Thanks
 
Check out DoCmd.Echo too. It might work to 1) turn off screen repainting, however you do it, on the tab click, then 2) start a timer, 3) handle the timer event, 4) turn painting (echo) back on in the timer event, and 5) stop the timer.
 
Thanks... Good Idea!

I set the timer to 250 .. seems a bit long I know but it has cut awful lot of the flashing out... I was getting sea sick! :-)

Thnx again!
 
flicker is generally caused by having floating labels on tabs (ie not bound to a textbox) . rolling over these labels causes a flicker

the solution is to change them to textboxes.
 
Hi GtH

I don't have those in this case but I do use them so thanks for the tip... rgds
 
Was the form slow to load? Is that why you went to this method?
 

Users who are viewing this thread

Back
Top Bottom