This function checks if the focus was successfully set on the specified edit control.
object.SetFocus()
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISEdit interface |
bool
Set focus on the specified edit control and display the result of the focus change.
Dim aEdit
Dim aResult
Set aEdit = Form.Controls_("edtInform")
aResult = aEdit.SetFocus
Profile.MsgBox(aResult)