We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Exception in ProcessShortcutKey when ActiveForm is null

Thread ID:





7951 Oct 15,2003 01:31 PM UTC Oct 15,2003 03:55 PM UTC WinForms 1
Tags: Tools
Alexander Arlievsky
Asked On October 15, 2003 01:31 PM UTC

Hi, In our application in some scenario (when many windows are closed and created, but main form remains untouched) we get Null Reference Exception in ProcessShortcut(Keys key) of BarManager. This method has condition: if(this.Form != null && (Form.ActiveForm == this.Form || (Form.ActiveForm.IsMdiContainer && Form.ActiveForm.ActiveMdiChild == this.Form))) as you can see, you really get exception if Form.ActiveForm is null. Any suggestion for workaround ?

Arun Srinivasan [Syncfusion]
Replied On October 15, 2003 03:55 PM UTC

Hi Alexander, This issue has been fixed. Can you open an incident in Direct Trac, so that we can send you download instructions to the latest version. Thanks Arun


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon