Object group label text changes slightly when scrolling through re

K

kscorbet

I have a couple of option groups on a subform that is within a tab control on
another form. The form that has the tab control has navigation buttons so
you can scroll trhough the records. When I am on the tab that has the option
groups and click the button to go to the next record, the text of the labels
within the option groups changes very slightly - it appears to get darker.
If I go to the next record, it gets even darker. It eventually gets to a
point where it doesn't seem to change anymore.

This only happens with the option group fields on the form. The font of all
my text on the form in Century Gothic and if I change the option group labels
to MS Sans Serif, this problem does not occur.

Anyone have any ideas?

Thanks!
Kelly
 
A

Allen Browne

Is this using Access 2003 on Windows XP? If so, there is a known issue where
the labels of the buttons in an option group flicker when you pass the mouse
over them (and so do any unattached labels on the page of a tab control.) I
am wondering if the "darkening" you describe is related to these screen
redraws?

If that ends up being the issue, you can work around it by changing the
labels into text boxes, putting the Caption text into the ControlSource of
the text box, e.g.:
="Option 1"

If that is the issue, and you have lots of affected labels in your
application, there is some code in this link to find them, change them all
to text boxes, and set their properties:
Flicker with tab controls
at:
http://allenbrowne.com/ser-46.html
 
K

kscorbet

Allen -

It is Access 2002 (2000 file format) on XP. My labels do not flicker when
the mouse passes over them. However, I tried your workaround and it worked.
Now, when I hold down the button to quickly scroll through the records, these
new text box "labels" disappear until I let go of the button, but then they
are displayed and they are not darker. (I guess they disappear because their
data is not part of the form's record source and it waits to display them?)

Note that I tried switching from Windows Themes to Windows Classic, as your
web link suggested, but that did not work in this situation.

In any case, thanks for the tip! It worked great.

- Kelly Corbet
Durham, NC, USA
 
K

kscorbet

Here is an update on this... I ran into the same thing with just ordinary
labels on a form. The labels were all grouped together so I selected them
all and moved them one increment to the left using the left arrow. When I
retried, the labels no longer got darker as I scrolled through the records.

So it is somehow related to both the font (it doesn't happen with all fonts)
and how the field is located on the form. Weird.

- Kelly
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top