In one of my solution, a Form is displaying as Dialog. I have written the below code to popup.
//Shows the New Record Form in Dialog
application.showFormInDialog(forms.DeFrm_newRecord, -1, -1, -1, -1, "Create New - Record",false,false,false);
And, the issue is that, the Dialog title is not showing at the beginning, when you first show the Dialog, and after that it is copying the title of other opened form in dialog on subsequent running of the application.
I surprised in this unexpected behavior , and not finding any solution for this.
Ars, I have this problem too and I posted this in this forum thread: http://forum.servoy.com/viewtopic.php?t=8344. I also submitted it to Servoy in the issue tracker as 96535 in November. They couldn’t reproduce it. Can you send them a sample solution? Mine is in SQL Server 2005 with lots of stored procs and they’d get too many errors if I tried to sample it.
I find it only happens on new records – not with editing old records.
It only happens on new records in form in dialog – not editing them. That may be the problem you’re having recreating. I am attaching a screen shot of it doing it in 3.5.3. It’s showing the previous ForminDialog title I had open last.
I press the show dialog button and the title shows ok.
I press the show another dialog button and the title shows ok.
I press the show dialog button again and the title shows ok.
I was looking at the new dialog (first one that appears) and the title was fine for that one. I always closed that one instead of clicking “OK”.
So now I know what to do.