Application.OpenForms

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

I’m using Desktop as Application container.

I’ve got a button on desktop that open a Form.

First time I click on the button Form open and show up the taskbar.

I minimize my Form, and click button for the 2nd time: I would like to maximise my previous one instead of creating a new one.

I think I have to look into Wisej.Web.Application.OpenForms.

My question is

Application.OpenForms refers to my session (forms opened by me)?

  • You must to post comments
0
0

Hi Jonatha,

yes, you can refer to the OpenForms collection to test if your window is already opened and check its WindowState property
to see if it is minimized.

The OpenForms is session isolated as anything else in Application.

Only static properties are shared across sessions.

Best regards
Frank

  • 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