Non-modal form doesn't close

C

Christian Schwarz

Hello,

I have an issue when a modal form shows a non-modal form (using .NET CF 1.0
SP3 under Windows CE .NET 4.1). Regardless of what I do, the non-modal form
cannot be closed before the modal form has been closed - neither by the user
pressing the "X" nor by the program calling the form's Close() method.

Is this behaviour by design? Is there anything I can do to work around?

Greetings, Christian
 
G

Guest

That's how Modal forms are supposed to work. By definition, when a Form is
modal, no other Forms in the app (or system for systemmodal forms) should
get events.
 
C

Christian Schwarz

That's how Modal forms are supposed to work. By definition, when a Form
is modal, no other Forms in the app (or system for systemmodal forms)
should get events.

Hmmm... I never had problems with modal forms creating and displaying other
modal forms. Is this not supposed to work?

Greetings, Christian
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top