Option Buttons in Frame

MarkA70

Registered User.
Local time
Today, 06:36
Joined
Jan 30, 2016
Messages
43
I have a form that allows the user to Click an Option button, fill in a text box and then Click the 'Find' Option button that resides within the same frame. Each option button changes its BackColor property when clicked. What I want to do is to change the 'Find' Option buttons BackColor property when the frame is exited.

I cannot find any event that will trigger this change? Thanks!

Is the only solution to move the 'Find' Button outside the frame?
 
create a module wide variable and save the backcolor of the label associated with your "Find" option button on the Click event of the frame.
 
Use the Frame's OnExit Event:

Code:
Private Sub YourFrameName_Exit(Cancel As Integer)
 '[I][COLOR="Red"]Code Goes Here[/COLOR][/I]
End Sub
Linq ;0)>
 

Users who are viewing this thread

Back
Top Bottom