svy_mod_showFormInDialog question

nav_version = ‘beta64b.760’

This methods has these parameters:

  • @param {Form} _form
  • @param {Number} [_Xwindow]
  • @param {Number} [_Ywindow]
  • @param {Number} [_Wwindow]
  • @param {Number} [_Hwindow]
  • @param {String} [_dialogTitle]
  • @param {Boolean} [_resizable]
  • @param {Boolean} [_showTextToolbar]
  • @param {String} [_dialogName] Non modal dialogs should have a name
  • @param {Boolean} [_modal] default is true
    except for the first the other can be not passed…
    I have seen two problems, i think…
    I have a form. Thisform has width 800 and height 400
    If i call

svy_mod_showFormInDialog(nomeForm)

the opened form is little and i have to manually dimension it…Then it mantains the new dimensions…

If i call
svy_mod_showFormInDialog(nomeForm,100,100,800,400,‘Title’,false,false,‘DialogName’,true)

the width is correct, while the height of the form is always a more little then i requested…and it shows alwayt the vertical scrollbar and i have to manually dimension it for correct the height…then it mantains the correct dimension…
This is the first problem…
The second is that if i pass the window title, the first time the windows is opened it has like title the name of the form,only since the second time i open it it has the passed title…

I think that this problem should be because the first time i have opened the form it had not the correct dimension and now it uses the saved dimension…But where are stored this kind of informations ? Where are saved the user preferences ?

Thanks

Hi Michele,

I think it is saved in the servoy properties files.

Hi Sanneke!

I read this, but in my case, I cannot make that the windows I opened with this method have indicated sizes…

The size that I define when I use the method, must be the same that the form width and height?

I’m using Servoy 6.0.0 and the last framework that you published.

Thanks!