I have an UltraTree that I'm trying to setup where the delete key will delete the selected node, but I'm having problems getting any of the key events (keyUp, keyDown, kePress) to be triggered. I know they are being consumed by something internal to the tree itself since whenever I press any alphanumeric key, the tree will jump to any node that has the first few letters, e.g. if I have a node Titled 'Car' and press the 'c' and 'a' it will jump to that node. Do I need to disable or override some internal event in order to check for the delete key?
Issue resolved, had to implement the delete logic myself. Thanks for your help!
The reason you aren't getting the key events for the delete key is that the base class implementation for the control's IsInputKey method does not return true for that key. Note that if you are using the 'Standard' ViewStyle you can set the UltraTree.Override.AllowDelete property to true to allow the user to delete nodes by pressing the delete key. Otherwise you would have to derive from UltraTree and override IsInputKey, and implement the deletion logic yourself.