Option Groups Shading

A

Abby

Hi,

I am using Access 2003 and have had problems seeing which tab button
is pressed in an option group. The shading is such that it is very
difficult to tell the difference between the button pressed and the
button that is not pressed -- they are both shades of gray. I did not
have this problem when using previous versions of Access. I have had
users complain and have tried to play around with the shading, but
Access doesn't seem to give that much control over it. Is there any
way to change the color of tab buttons from the default gray or to
make the text on a chosen tab button appear bold? Has anyone else had
this problem?

Thanks for your help,
Abby
 
A

Arvin Meyer [MVP]

I've never noticed this to be a problem, and no you cannot change the shade
of any of the option group buttons. But you can change the labels for those
buttons. Say the background is white for the frame and labels and you've set
the Backstyle as Normal, instead of transparent. You could then:

Private Sub Frame21_Click()
Select Case Me.Frame21
Case 1
Me.Label25.BackColor = vbRed
Me.Label27.BackColor = vbWhite
Me.Label29.BackColor = vbWhite
Case 2
Me.Label25.BackColor = vbWhite
Me.Label27.BackColor = vbRed
Me.Label29.BackColor = vbWhite
Case 3
Me.Label25.BackColor = vbWhite
Me.Label27.BackColor = vbWhite
Me.Label29.BackColor = vbRed
End Select
End Sub

Besides manipulating the BackColor property, you could also change the
Border or the SpecialEffect property, or change the font to Bold or Normal,
or change the FontColor.
 
W

Wayne-I-M

Hi Abby

Not that I know of. You can always put a lable (set font to windings) next
to each button and use the afterupdate event of the frame to set the relevent
label to "f" (lower case f is an arrow). Or you can use any other letter to
highlight the button.

The other alternative would be to set the frame to visible = No and use a
set of lables (thy have a Me.XXX.Backcolour=VB???) you would need to play
around with this to get the right order of colors to change if frame = ??? or
???, etc, etc (not too hard though). Use the onClick event of the lables to
set the value of the Frame

Good luck
 
Top