RanorexRanorex Documentation
PrepareFocus Method (focusTarget)
NamespacesRanorexKeyboardPrepareFocus(Element)
Tries to set the focus to the specified element if necessary and also tries to make the element visible (if EnsureVisible is specified).
Declaration Syntax
C#Visual BasicVisual C++
public static void PrepareFocus(
	Element focusTarget
)
Public Shared Sub PrepareFocus ( _
	focusTarget As Element _
)
public:
static void PrepareFocus(
	Element^ focusTarget
)
Parameters
focusTarget (Element)
The target element to set the focus to.

Assembly: Ranorex.Core (Module: Ranorex.Core) Version: 3.2.3.16825 (3.2.3.16825)