Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Tab control flickers

Posted on 2006-07-02
3
Medium Priority
?
500 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 500 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Traditionally, the method to display pictures in Access forms and reports is to first download them from URLs to a folder, record the path in a table and then let the form or report pull the pictures from that folder. But why not let Windows retr…
Instead of error trapping or hard-coding for non-updateable fields when using QODBC, let VBA automatically disable them when forms open. This way, users can view but not change the data. Part 1 explained how to use schema tables to do this. Part 2 h…
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

916 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