M
Michelle
I have an option button where I want the default value to be "Active". In
the Option Group Frame I have the default value set as "1". When a user
clicks on the "Active" button I want the backcolor of my form to remain the
same, when a user clicks on the "Inactive" button I want the backcolor of the
form to turn red. I have put a macro in the "After Update" procedure and the
code works but it doesn't "deselect" the button when I click on the other
button. I have to click Active, then click it again to take the focus off
before I click Inactive. If I don't do this, both boxes remain checked (the
color does change how I want it). Is there a way to make the buttons
"toggle" or "lose focus". Thanks.
My macro looks like this...
the Option Group Frame I have the default value set as "1". When a user
clicks on the "Active" button I want the backcolor of my form to remain the
same, when a user clicks on the "Inactive" button I want the backcolor of the
form to turn red. I have put a macro in the "After Update" procedure and the
code works but it doesn't "deselect" the button when I click on the other
button. I have to click Active, then click it again to take the focus off
before I click Inactive. If I don't do this, both boxes remain checked (the
color does change how I want it). Is there a way to make the buttons
"toggle" or "lose focus". Thanks.
My macro looks like this...