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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Form lost focus?

Status
Not open for further replies.

Crystalyzer

Technical User
Mar 28, 2003
218
Visual Studio .Net 2003

I have a windows app with a form and 2 textboxes. I have coded a "Lost_Focus" event on textbox1 to perform some tasks however I don't want those tasks to be performed if the FORM has "Lost Focus".

Can anyone direct me?


Thanks and best regards,
-Lloyd
 
I've not got VS running at the moment so I can't check but perhaps ...


In the TextBox LostFocus handler

If Me.Focused Then
.
.
End If

Hope this helps.


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top