Option Buttons in Frame (1 Viewer)

MarkA70

Registered User.
Local time
Today, 10:01
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?
 

arnelgp

..forever waiting... waiting for jellybean!
Local time
Today, 23:01
Joined
May 7, 2009
Messages
19,246
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.
 

missinglinq

AWF VIP
Local time
Today, 11:01
Joined
Jun 20, 2003
Messages
6,423
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

Top Bottom