Solved

Tab control flickers

Posted on 2006-07-02
3
485 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
Comment Utility
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
Comment Utility
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Regardless of which version on MS Access you are using, one of the harder data-entry forms to create is one where most data from previous entries needs to be appended to new records, especially when there are numerous fields and records involved.  W…
Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
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…
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…

743 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now