Home Cooker Classes Others Rice CookerGX
Classes  >  element  >  Focus()
element class : Focus() method

Description

If possible, the invoker element gets the focus.

Syntax

elementInstance.Focus()

Arguments

None

Return value

None

Sample code

//anyElement is any instance of element type.

bool contain = anyElement.Focus();

Notes

It's a wrapper of the MSHTML.IHTMLElement2.focus().

Links for reference

Copyright © Rice All rights reserved.