Solved

Tab control flickers

Posted on 2006-07-02
3
487 Views
Last Modified: 2011-10-03
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


0
Comment
Question by:jbotts
3 Comments
 
LVL 39

Accepted Solution

by:
thenelson earned 125 total points
ID: 17030604
The code converts unattached labels to text boxes. Once you use it once, you can remove it from your application. If you are having problems with the code, you can change the labels to text boxes manually instead of using the code.

An easier way to work around the bug is not use the tab control. See Report Form Tricks at http://www.thenelson.name/ for a way to simulate a tab control.
0
 
LVL 27

Expert Comment

by:jjafferr
ID: 17256286
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
0

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you are entering numbers in a speadsheet, and don't remember what 6×7 is, you just type “=6*7" instead. It works in every cell! This is not so in Access. To enter the elusive 42 in a text box, you have to find a calculator, and then copy the re…
Experts-Exchange is a great place to come for help with solutions for your database issues, and many problems are resolved within minutes of being posted.  Others take a little more time and effort and often providing a sample database is very helpf…
Familiarize people with the process of utilizing SQL Server views from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Access…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question