Forum Discussion
Oferv
14 years agoSuper Contributor
Hi,
After a little bit more investigating the problem i found out what is causing the
Aliases["DesktopMainWindow"]["Source_MainWindow"]["MainWindow"]["LayoutRoot"]["menu"]["WPFMenu"]["Click"]("File|Close");
not to perform.
it's the line codes that are located in the unit load the application and it's making sure the application exists before moving on:
After a little bit more investigating the problem i found out what is causing the
Aliases["DesktopMainWindow"]["Source_MainWindow"]["MainWindow"]["LayoutRoot"]["menu"]["WPFMenu"]["Click"]("File|Close");
not to perform.
it's the line codes that are located in the unit load the application and it's making sure the application exists before moving on:
if(!Aliases["DesktopMainWindow"]["Source_MainWindow"]["MainWindow"]["LayoutRoot"]["DesktopGrid"]["RingBinder"]["MainViewportParent"]["MainViewport"]["WaitProperty"]("Exists",true,600000))
{
Log["Warning"]("failed to load,Abort
iteration")
Exit["Exit"]()
}
if this lines is being removed the close operation is being perform properly.
any idea why those lines can prevent the close operation from being preform?
Thanks