This function returns True if the focus was successfully set on the specified memo control.
object.SetFocus()
| Part | Attribute | Type | Description |
|---|---|---|---|
object |
Required | The object always implements the
ISMemo interface |
bool
Set focus on the specified memo control and display the result of the focus change.
Dim aMemo
Dim aResult
Set aMemo = Form.Controls_("memComment")
aResult = aMemo.SetFocus
Profile.MsgBox(aResult)