ISMemo.VisibleWhenPrint

Description

This property is True if the specified memo control is visible when printing a form.

Syntax

object.VisibleWhenPrint

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

Return Value

bool

Example

Display VisibleWhenPrint for the specified memo control.

Dim aMemo

Set aMemo = Form.Controls_("memComment")
aMemo.VisibleWhenPrint = true

Form.Print 
Note: This macro should be executed in any event handler of the form control.

In Profile Client v8 on User Interface Visible When Print 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 > VisibleWhenPrint.

Version information

Added in v7.11.0