I'm using UltraToolbarsManager with
"ultraToolbarsManager1.Ribbon.FileMenuStyle = FileMenuStyle.ApplicationMenu2010"
and my App. has two tabs, "File" and "Home".
In "File" tab, The shortcut Key for exit is Alt + X. But I want to exit my App. with Alt + F4, too.
How can i do?
Please answer my question!!
Hi,
Thanks for the details. I was able to reproduce your issue. I need a time for research, so I create a case for you with reference number CAS-94718-0MSCHF. I`ll inform you through the case when I complete the research.
Let me know if you have any questions.
Regards
Hi, Georgi
Thank you for answering my question again. How kind you are!
But, you misunderstand my question again.
What I want is,
after the application is started, click "File" tab, and press "Alt + F4", then application should be exited.
ps. I'm using 10.3 version for Windows Forms.
Hello hedgehog0213,
Did you test my sample from previous post ? Could you please tell me what is your current version and do you have any installed service release and which one ?
Nevertheless, if I`m using "this.ultraToolbarsManager1.Ribbon.FileMenuStyle = Infragistics.Win.UltraWinToolbars.FileMenuStyle.ApplicationMenu2010;", or not in both cases I`m able to close the application with Alt+F4 or Alt+X.
Please take a look at the attached video file and let me know if you have any questions.
Thank you for my question. But you don't understand my question exactly.
I confirmed the attached sample, and in "Form1.Designer.cs",
if you insert the following code
"this.ultraToolbarsManager1.Ribbon.FileMenuStyle = Infragistics.Win.UltraWinToolbars.FileMenuStyle.ApplicationMenu2010;",
the App. is not exited with "Alt + F4".
Exactly, what I want is "Alt + X" and "Alt + F4" is same in "File" tab with "FileMenuStyle.ApplicationMenu2010" style.
I'm sorry to bother you, but please answer my question again.
Maybe one possible approach to achieve desired behavior could be if you are using a tool which shortcut is Alt+X with implemented code to close your application. By this way the default behavior of Alt+F4 still exist. Please take a look at the attached sample for more details and let me know if you have any questions.