ISMemo.Lines

Description

The lines of the specified memo control.

Syntax

object.Lines

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

Return Value

ISStrings

Example

Display some information about the specified memo control, including the number and content of its lines.

Dim aMemo
Dim aMemoLines
Dim aMemoInfo

Set aMemo = Form.Controls_("memComment")

set aMemoLines = aMemo.Lines

aMemoInfo =_
  "ShortName: " & aMemo.ShortName & vbNewLine &_
  "Memo Lines Count = " & aMemoLines.Count & vbNewLine &_ 
  "Memo Lines Text: " & vbNewLine & aMemoLines.Text
 
Profile.MsgBox(aMemoInfo)  
Note: This macro should be executed in any event handler of the form control.

In Profile Client v8 on User Interface Lines 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 > Lines.

Version information

Added in v7.8.0