Results 1 to 2 of 2

Thread: DataGrid KeyPress

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jan 2005
    Location
    Canada
    Posts
    141

    Angry DataGrid KeyPress

    DataGrid KeyPress Event When Execute
    we write this code but this code not excute at run time
    plzzzzz Help me

    private void grdSpinPlan_KeyPress(object sender, System.Windows.Forms.KeyPressEventArgs e)
    {
    if (e.KeyChar ==13)
    {
    SendKeys.Send("{Tab}");
    }
    }

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: DataGrid KeyPress

    You have definitely added the handler to the object's event, right?

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