Re: object reference not set to an instance of an object

Robert Jordan <[email protected]>
Newsgroups gmane.comp.gnome.winforms
Message-ID <[email protected]>
On 01.11.2010 16:56, Stifu wrote:
>
> Although you managed to work around your problem, if you think there is a bug
> in Mono, feel free to file a bug report.

ActiveForm is null when the application does not have focus, i.e.
it's not activated in Windows parlance. A click on the desktop
is enough to trigger ActiveForm == null.

It's probably related to his "ShowDialog() can loose focus when 
MDIContainer is present" issue.

Robert

_______________________________________________
Mono-winforms-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-winforms-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.