3.5.5. showForminDialog problem

In version 3.5.5 when you change the dimensions of a showFormInDialog in Developer’s method editor, they don’t change in the Developer interface until you reopen the solution. Also just noticed that if you change the form Developer expects to load in that form in dialog, you also have to relaunch the solution to get it to open (it just doesn’t open anything until you reopen the solution). Both worked in previous versions for me many times.

Good catch. This one had me completely turned around for a bit.

Hi Ellen,
Have you tried to make a new instantiation of the form for each new “show” of the form in dialog - just in case this forces developer to do its job properly?
Tom

Anyone registered this in the support system allready?

In not, please do

Paul

I put it in the support system.

Please post the showFormInDialog(…) code so I can see what parameters you are using. I made one test and reproduced the dimension problem, but changing forms works for me. (and this changing size behavior is reproducible in 3.5.3 as well)
I will try other param combinations meanwhile…

Thanks.

I know it was happening, I think with this statement:

application.showFormInDialog( forms.PopupChangeOrdertabs, -1, -1, 885, 650, 'Edit a ’ + forms.ContractsFinancials.AmendCOsingular + ‘’, false, false, false)

but I can’t reproduce it now. I know it was happening, cause this is what finally made me post the bug. The fact that my dialog sizes weren’t taking without reopening the solution was annoying, but hadn’t motivated me to post. When it did this, then i restarted the solution and it worked – i realized i had to post the bug. Weird that it won’t do it now.

:) Glad you could reproduce the size thing tho.

The bounds issue is solved. Only this form changing issue remains… I will try to reproduce it, but no luck until now. Do you have any exceptions in the log from the day it happened?
Now, in the developer, when you save/verify a script (if you are in edit mode) or when you exit design mode the initial bounds for non-open dialogs will be reset.