D
David Anderson
I am developing an Access 2003 application associated with a photographic
competition. My ScoringForm permits the selection of image classes and a
subform displays all the images in the selected class. This subform is bound
to a query and contains an option group of 14 buttons - each button
representing one of the possible scores to be awarded during the judging
process. If an image has been allotted a score, then the text on the
selected button (and only the selected button) is made bolder and has its
colour changed from black to red. This makes the chosen score stand out very
clearly.
Code for changing these button appearance properties exists in two places,
the subform Current event and the option group AfterUpdate event. Generally,
it all works fine. I can scroll through all the subform records and any
scores stored in the underlying recordset will show up clearly as a selected
option group button, complete with the extra highlighting mentioned above.
Clicking on any button will set (or change) the score for the current image
record and move any highlighting to the selected button.
My problem is that if I rapidly scroll through the subform records using the
PageUp or PageDown keys then sometimes the button text colour and weight
will get out of synch with the selected score button. In other words, the
selected option group button might correctly reflect a score of 6 but the 8
button might be the one with bold text in red.
What's going on here? How can I fix this?
David
competition. My ScoringForm permits the selection of image classes and a
subform displays all the images in the selected class. This subform is bound
to a query and contains an option group of 14 buttons - each button
representing one of the possible scores to be awarded during the judging
process. If an image has been allotted a score, then the text on the
selected button (and only the selected button) is made bolder and has its
colour changed from black to red. This makes the chosen score stand out very
clearly.
Code for changing these button appearance properties exists in two places,
the subform Current event and the option group AfterUpdate event. Generally,
it all works fine. I can scroll through all the subform records and any
scores stored in the underlying recordset will show up clearly as a selected
option group button, complete with the extra highlighting mentioned above.
Clicking on any button will set (or change) the score for the current image
record and move any highlighting to the selected button.
My problem is that if I rapidly scroll through the subform records using the
PageUp or PageDown keys then sometimes the button text colour and weight
will get out of synch with the selected score button. In other words, the
selected option group button might correctly reflect a score of 6 but the 8
button might be the one with bold text in red.
What's going on here? How can I fix this?
David