Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

changing the state of a button's focus 1

Status
Not open for further replies.

robojeff

Technical User
Dec 5, 2008
220
US
I have a form with a series of buttons and I would like to run certain code when the focus that changed to an individual button. I am using the "On Got Focus" Event to run my code but I am wondering if there is a way to release the focus of the button once the code has finished.
Is there a way to do this?

Thanks
 
Set the focus to another control!
Code:
me.someOtherControl.setfocus

pjm
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top