-
hi, I have only been using visual basic for a short time and I am building my first program etc.
Anyway I am using the code on http://www.vbsquare.com/tips/tip397.html
to control two forms using two option buttons, eg when one is selected one form is dissabled and vice versa, but when the first option button is selected the other form disables but so also does the menu bar at the top, this does not happen when the other button is selected.
I would love any idea as this is really bugging me.
Thanks all
Oliver Simmons
-
How about using a Checkbox?
Code:
Private Sub Check1_Click()
Form2.Enabled = Not Form2.Enabled
End Sub
If you want to stick with the Option buttons, you can use this:
Code:
Private Sub Option1_Click()
Form2.Enabled = True
End Sub
Private Sub Option2_Click()
Form2.Enabled = False
End Sub
Is this what you mean?
-
<?>
could you post the code the tips I go to with that http: is on concerning frames.