Forum Discussion
Oferv
15 years agoSuper Contributor
Hi,
i understand what you are saying.
to be more accurate,if the application was loaded by me,manually, and i run the code line, the close perform properly but if TC is loading the application (using code line)and gets to the same line code it won't perform the close properly.
i tried to use
Aliases["DesktopMainWindow"]["Source_MainWindow"]["MainWindow"]["LayoutRoot"]["menu"]["Refresh"]()
before the close line but it didn't help as well.
do you have any other way to handle it?
Thanks
i understand what you are saying.
to be more accurate,if the application was loaded by me,manually, and i run the code line, the close perform properly but if TC is loading the application (using code line)and gets to the same line code it won't perform the close properly.
i tried to use
Aliases["DesktopMainWindow"]["Source_MainWindow"]["MainWindow"]["LayoutRoot"]["menu"]["Refresh"]()
before the close line but it didn't help as well.
do you have any other way to handle it?
Thanks