TextBox lost focus event

Posted on 2012-08-30
Last Modified: 2012-08-30
I am running windows form application and trying to capture an event when the text in a textbox was changed. I tried using TextChanged event but it gets activated with every letter typed while i need to grab the text when user is done typing and the cursor is leaving textbox. Which event do I use? How can I accomplish the desired result?
Question by:YZlat
    LVL 22

    Expert Comment

    how about the leave event?
    LVL 22

    Accepted Solution

    or lostfocus
    LVL 35

    Author Closing Comment

    Thanks! Totally forgot about this one. it's been a while

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Better Security Awareness With Threat Intelligence

    See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

    This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
    Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
    It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
    Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    22 Experts available now in Live!

    Get 1:1 Help Now