Saturday, October 10, 2015

Activate an Edit Box's Native Focus Method

Sub Object_Example()
'The following example uses the .Object property to activate an
'edit box's native focus method:

Set MyWebEdit = Browser("Mercury Tours").Page("Mercury Tours").WebEdit("username").Object
MyWebEdit.focus

End Sub

No comments:

Post a Comment