Link Search Menu Expand Document

Root.GetFocus Property

Explanation Gets the focused object in the currently displayed form.
Added since Ver.5.0.0
Not supported in Mobile, AI
Call format var obj = //.GetFocus( [ focus ] )
Return value Return the object that is currently in focus.
Arguments boolean focus In the case of $ FALSE, it returns null if it does not actually have the focus of the OS.
In the case of $ TRUE, it returns the focus-owned object that Biz / Browser holds internally even if it does not actually have the focus of the OS.
If omitted, the operation is $ FALSE.
Exception None
Example of use
    var obj = //.GetFocus();
    obj.Title = "Focus Now.";
    
Related item FocusObject.SetFocus method