cancel
Showing results for 
Search instead for 
Did you mean: 

WHERE to put the code for manipulating the MAIN view

Former Member
0 Kudos

Hi,

when executing a WD application the main window is opened with a certain size. I want to adjust that size, but do not understand on WHERE to put the coding to do this.

Hence, it is not a question of how to create/manipulate a pop-up window.

Also, please do not answer on HOW to do this, as there are many threads describing how to change/set a window size.

All I need to understand is where to insert the code which manipulates the properties (in this case the size) of the MAIN view when the WD application is started.

Thank you.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Try to insert code in WDDOINIT( ) method which will help you.

Thanks

KH

Answers (2)

Answers (2)

0 Kudos

Hi,

If you wish to modify, either WDDOINIT or WDDOMODIFYVIEW should work , the only difference is that WDDOINIT will trigger only once that view is called whereas MODIFYVIEW triggers everytime any action is taken by the user.


Thanks.

Former Member
0 Kudos

You can control the size in the portal as well!