CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2010
    Posts
    39

    TextChanged Event in DataGridView

    I have a DataGridView containing TextBox cells. Is there an event that raises immediately after text change within a cell ? I tried such events as CellValueChanged, CurrentCellDirtyStateChanged, TextChanged ( the last was used with help of EditingControlShowing event for DataGridView). All of them give some delay before the handler starts executing, for example they wait until I change focus from one cell to another. I want the handler to react right after the text changes. Using KeyDown, KeyPress or something like that is not sufficient for me, since I want to take into account Cut/Paste situations as well.
    Can't wait to hear your answers.
    Last edited by MajinSaha; October 8th, 2010 at 05:10 PM. Reason: The previoud issue was resolved. But a new one appeared.

  2. #2
    Join Date
    Jul 2002
    Posts
    2,543

    Re: TextChanged Event in DataGridView

    For pure .NET programming questions it is better to ask in C# or VB .NET forums and then to translate an answer to C++/CLI/ There are a lot of programmers working in C# and VB .NET. C++/CLI is mostly used for managed/unmanaged code interoperability, you don't have a good chance to get an answer here.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured