Non-modal form doesn't close

  • Thread starter Thread starter Christian Schwarz
  • Start date Start date
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
 
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.
 
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
 
Back
Top