DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Maximize DIAdem application window.

Solved!
Go to solution

How to make my DIAdem application window set to maximum size [ fit to window] using script?

 

For example: see below image. How to fit my diadem application to window size using script?

I want to run my script in maximized window and sometime if user didn't keep it in maximized size, I want to include maximize window lines in the start of the script to handle this use case.

 

something like,

    Application.WindowState = xlMaximized
    windWidth = Application.width
    windHeight = Application.height

Durai26_1-1706879729028.png

 

 

regards,

Durai

0 Kudos
Message 1 of 2
(646 Views)
Solution
Accepted by Durai26

Hi Durai,

 

you can use WndShow() for this.

To maximize the window use :

call WndShow("SHELL","MAXIMIZE")

 

To switch back to windowed mode use :

call WndShow("SHELL","NORMAL")

 

 

 

 

 

0 Kudos
Message 2 of 2
(609 Views)