首页 > doc > window-activate 
 en fr de es it nl pl pt pt_BR mk sq ca hu cs tr ar fa id vi ko ja ru zh eo
前一个  下一个  编辑  重命名  撤销  搜索  管理  
文档  
警告! 该页面未翻译。  参见英文版 
Window Activation & Deactivation
To become the official active window, i.e. the window that is returned by the Application.ActiveWindow property, a window: When a control gets the focus, then its window becomes the active window, provided this window can become the current active window as explained above.

If its window cannot become the current active window, then the parent window of this window is tried, and so on, until a top-level window is reached.

Activating a window sends a Deactivate event to the old current active window, and an Activate event to the new one.

When the application is iconified, the current active window is deactivated. When the application is uniconified, then the current active window is reactivated again.