Page.SetFocus

Page.SetFocus ( 

string ObjectName )

Description

Sets focus to an object on the current page.

Note: Focus can only be set for QuickTime, Flash, xButton, CheckBox, RadioButton, Input, ComboBox, ListBox, Tree, Grid, and RichText objects. It may also apply to various types of plugin objects that support focus.

Parameters

ObjectName

(string) The name of the object.

Returns

Nothing. You can use Application.GetLastError to determine whether this action failed, and why.

See also:  Related Actions