Hello Hello
Not sure how to title my thread other than like that...
Setup:
I have a grouped frame with 4 Option Buttons (#'s 1, 2, 3 & 4)
What I am trying to accomplish is simply when a user selects one of the four buttons a certain collection of controls associated with that Button will appear on the UI and the other three buttons become hidden by setting their .Visible property to False. This code is written in the GotFocus Eventfor each button.
I also have a Reset button which resets the form and also resets the .Visible property of the other three buttons back to True and in addition I am also setting the Frame = False. I'm doing this in an attempt to clear the value of the frame which I know inherits the value of whatever button the user clicks.
Unfortunately, and as I am sure many of you reading this already know, that does not reset the frame value and if the user clicks another button the code for the prior button will run - very frustrating.
So I guess my question is, is there a way to clear the inherited value of the frame so users can select a button, reset the UI and select another button and have it trigger the correct event?
The code below is from the Reset button
Code:
With Me
.OptNwHire.Visible = True
.OptNAC.Visible = True
.OptExtAcces.Visible = True
.OptTermTrans.Visible = True
.FrameTktType = ""
End With
As always - Thank you!