When I show a Dialog setting a form title - and then show a second dialog from the first (using a button and call) they both show fine (first dialog dissapears). When closing the second dialog the first reappears but no longer shows the title set in the showFormInDialog call but shows the form name itself?
Is there a way to reset the title in the on show of the first dialog?
I think we have been through this before with 5,1b1 but that was with a print preview, here in 5.2rc1 its a problem between two dialogs .
When you name the dialogs differently (see name property of the application.showFormInDialog() ) then both dialogs stay open and nothing (should) change in the title.
If you don’t name them (or use the same name) then the same dialog is reused (hence it ‘disappears’).
When you name the dialogs differently (see name property of the application.showFormInDialog() ) then both dialogs stay open and nothing (should) change in the title.
If you don’t name them (or use the same name) then the same dialog is reused (hence it ‘disappears’).
Hope this helps.
Ahhaa - It reappears though so it’s obviously held in memory some place - but the title of the form is not re-instated even though the form is? These are different forms called from various areas of the software so it’s not really possible to let them have the same name??
The title can be the same (or should be possible). It’s the (internal) name of the FID object that makes it show a new or reuse the same dialog.
That the window title doesn’t get reinstated I would consider a bug.