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
280
KeyPress/KeyUp/KeyDown on PopupMenuTool
posted

Hi

It seems that none of the Keyboard events are generated in case if a Tool (StateButtonTool in my case) is part of the PopupMenuTool. I was trying to subscribe to general event of the UltraToolbarsManager as well as to the similar event of the ToolBase. Neither are called.

I am trying to add ability to delete menu entry by pressing Del key.

I am using NetAdvantage for .NET 2008 Vol. 2 CLR 2.0

Cheers, Igor

Parents
  • 44743
    Verified Answer
    posted

    The ToolKeyDown, ToolKeyUp, and ToolKeyPress events are only fired for editor tools, such as TextBoxTools, when the tool has focus and the user types into them. If you have to implement this ability to delete a tool in a menu, you will have to add a message filter to your application.

Reply Children
No Data