Link to home
Start Free TrialLog in
Avatar of jbotts
jbotts

asked on

Tab control flickers

I am using Access 2003 and there is a bug resulting in screen flicker when the mouse is passed over unbound labels. This has been addressed before in Experts-Exchange and the solution was found in the following link:

                   http://allenbrowne.com/ser-46.html

I have gone to the link and copied the code and put it into a module. I go to the immediate window and enter
? FixAllForms(). This causes Run-time Error 2465 "Application-defined or object-defined error". Upon debugging it takes me to:

            Private Function ParentIsTabPage(ctl As Control) As Boolean
                  On Error Resume Next
                  ParentIsTabPage = (ctl.Parent.ControlType = acPage) *Debugger highlights this line.*
           End Function

1. Does anyone have any suggestions on why it is not working?
2. Access has asked for a name of the module and I named it modFlicker. After using this do I have to leave the module in as part of the program?

Thanks,
jbotts


ASKER CERTIFIED SOLUTION
Avatar of thenelson
thenelson

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
No comment has been added to this question in more than 21 days, so it is now classified as abandoned.

I will leave the following recommendation for this question in the Cleanup topic area:
    Accept: thenelson {http:#17030604}

Any objections should be posted here in the next 4 days. After that time, the question will be closed.

jjafferr
EE Cleanup Volunteer