tgs
November 3, 2008, 9:49am
1
Hello!
The titelText on a showFormInDialog window displays always the formname (frm_name_dialog), although I have the function:
application.showFormInDialog(forms.frm_name_dialog,[-1],[-1],[-1],[-1],["Text"],[false],[true],["form_name"],[false])
If I set the titleText in the form properties, than that would be displayed.
Regards
Thomas
i just tested this and this works fine for me:
application.showFormInDialog(forms.order_items_real,-1,-1,-1,-1,"TEST TEST",false,false,"mytest",true);
ROCLASI
November 3, 2008, 11:46am
3
Hi Thomas,
You don’t need to use the square brackets around your values. This makes them arrays and showFormInDialog expects integers and strings.
I know the help/info text shows them but that just designate them as optional parameters.
So your code should look like:
application.showFormInDialog(forms.frm_name_dialog, -1,-1, -1,-1,"Text",false,true,"form_name",false)
Hope this helps.
tgs
November 3, 2008, 12:36pm
4
Thank you guys!
That’s it! No brackets no problems
Thomas