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.
Unfortunately, activation email could not send to your email. Please try again.

Exception in ProcessShortcutKey when ActiveForm is null

Thread ID:

Created:

Updated:

Platform:

Replies:

7951 Oct 15,2003 09:31 AM Oct 15,2003 11:55 AM Windows Forms 1
loading
Tags: Tools
Alexander Arlievsky
Asked On October 15, 2003 09:31 AM

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 11:55 AM

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

CONFIRMATION

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.

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.

;