I used next code in version 2.x
Code: Select all
Process('process_name_here').Windows_.Close;
Now I am using version 3. The same code. It doesn't work (it works in strange way). After calling the
Code: Select all
Windows_.Close;
I look into help
and I think the problem is in wrong detection of main window.You can close this process by either calling "Close" (WM_CLOSE to the main window)
What I am doing wrong or how to solve the problem?
Thanks!