Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
250
How to capture keyboad event on ultratree e.g. F2.
posted

How to capture keyboad event on ultratree e.g. F2.

 

// sorry if this is already covered in some post.

  • 20872
    Offline posted

    Hello VikasChablani,

    Probably you would be able to hadnle the key down event like the following:

          private void ultraTree1_KeyDown(object sender, KeyEventArgs e)
            {
                if (e.KeyData == Keys.F2)
                {
                    Debug.WriteLine("F2 is pressed");
                }
            }
    

     

     

    Please let me know if you have any other questions on that matter.