Problem:
I wrote two AdoScripts, which have a list in a dockable_browser as output. When I executed a script the output content is updated correctly, but the title always stayed the title of the first executed script. Although I defined different titles in the code for the dockable_browser, I could not manage to solve this problem.
Thanks to the ADOxx-Team, that came up with a solution very quickly!
Reason for problem:
Both browser windows have the same "winid". When a window is closed it is only "hidden" -> the winid is preserved and used again -> only the content is loaded, but the window exists already.
Solution:
a) unique winid for each window and all winids in a global variable as string
b) close all dockable_windows before a new one is opened (CC "AdoScript" CLOSE_DOCKABLE_WINDOW winid:strValue ----- RESULT ecode:intValue (ecode is 0 if winid does not exist))