This property is True if return characters can be inserted into the text of the specified memo control. If the property is False, the Return key will be processed by the form where the memo control is placed. It is not accessible in the Object Inspector.
object.WantReturns
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISMemo interface |
bool
Display WantReturns for the specified memo control.
Dim aMemo
Dim aMemoInfo
Set aMemo = Form.Controls_("memComment")
aMemoInfo =_
"ShortName: " & aMemo.ShortName & vbNewLine &_
"Type Name " & aMemo.TypeName & vbNewLine &_
"Want Returns: " & aMemo.WantReturns
Profile.MsgBox(aMemoInfo)