ISMemo.WordWrap

Description

This property is True if the memo control inserts soft carriage returns so text wraps at the right margin.

Syntax

object.WordWrap

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

Return Value

bool

Example

Display WordWrap for the specified memo control.

Dim aMemo
Dim aMemoInfo

Set aMemo = Form.Controls_("memComment")

aMemoInfo =_
  "ShortName: " & aMemo.ShortName & vbNewLine &_
  "Type Name " & aMemo.TypeName & vbNewLine &_ 
  "Word Wrap: " & aMemo.WordWrap
 
Profile.MsgBox(aMemoInfo) 
Note: This macro should be executed in any event handler of the form control.

In Profile Client v8 on User Interface Word Wrap can be found in Maintain > Templates > Health Record Collection Templates > Open the selected form template > Open form editor > Object Inspector > Select the memo control in the controls tree > WordWrap.

Version information

Added in v7.8.0