ISMemo.ScrollBars

Description

This property determines whether the specified memo control has scroll bars.

Syntax

object.ScrollBars

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

Return Value

TSScrollBars

Example

Display some information about the specified memo control, including its scroll bars.

Dim aMemo
Dim aMemoInfo

Set aMemo = Form.Controls_("memComment")
aMemoInfo =_
  "ShortName: " & aMemo.ShortName & vbNewLine &_
  "Type Name " & aMemo.TypeName & vbNewLine &_ 
  "Scroll Bars: " & aMemo.ScrollBars
 
Profile.MsgBox(aMemoInfo) 
Note: This macro should be executed in any event handler of the form control.

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

Version information

Added in v7.8.0