ISLabel.WordWrap

Description

This property is True if the text of the label control wraps at the right margin and continues in additional lines.

Syntax

object.WordWrap

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

Return Value

bool

Example

Display WordWrap for the specified label control.

Dim aLabel
Dim aLabelInfo

Set aLabel = Form.Controls_("Label1")

aLabelInfo =_  
  "ShortName: " & aLabel.ShortName & vbNewLine &_
  "TypeName: " & aLabel.TypeName & vbNewLine &_
  "WordWrap: " & aLabel.WordWrap               
  
Profile.MsgBox(aLabelInfo)  
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 label control in the controls tree > WordWrap.

Version information

Added in v7.8.0