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
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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