Closed modal form remains visible in the desktop taskbar.

Welcome to Wisej Support.
Questions, suggestions and plain old bugs - are all welcome here!
0
0

Hi,

The modal form remains visible in the taskbar after the form is closed. If you click on it in the taskbar the form is activated and get focus. This time nothing in the form works. For instance the close button does nothing.

Attached project demonstrating the problem.

Thanks,

Wilfred

  • You must to post comments
0
0

Hi Wilfred,

It’s bug WJ-7791, fixed in the current build, will be online later on today.

Also, to make a modal dialog not appear in the taskbar set ShowInTaskbar to false.

Modal dialogs, differently than forms, when closed are NOT disposed and can be reused. Forms are disposed as soon as they are closed. Modal dialogs (forms opened using ShowDialog) has to be explicitly disposed by the app, or will be garbage collected by the GC at a later time if not referenced.

A common pattern for modal dialogs is:

using (var dlg = new MyDialog())

{

  ...

}

Best,

Luca

 

  • You must to post comments
Showing 1 result
Your Answer
Post as a guest by filling out the fields below or if you already have an account.
Name*
E-mail*
Attachment
File Name Size
There are currently no files uploaded.
Maximum number of files 1, maximum file size 3.9MB.
Supported file formats: zip pdf gif jpg bmp png cs vb theme json