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