ISMemo.WantTabs

Description

This property is True if tab characters can be inserted into the text of the specified memo control. If the property is False, the Tab button is used to move focus to the next form control. It is not accessible in the Object Inspector.

Syntax

object.WantTabs

Part Attribute Type Description
object Required
The object always implements the ISMemo interface

Return Value

bool

Example

Display WantTabs 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 Tabs: " & aMemo.WantTabs
 
Profile.MsgBox(aMemoInfo) 
Note: This macro should be executed in any event handler of the form control.

Version information

Added in v7.8.0