MergeCaption property

Microsoft Visio Developer Reference

MergeCaption property

   Example   

Returns the abbreviated caption that appears on the page tab when the window is merged with other windows.

Version Added

2002

Syntax

strRet = object.MergeCaption
object.MergeCaption = strVal

strRet

String. The text that appears in the page tab when this window is merged with other windows.

object

Required. An expression that returns a Window object.

strVal

Required String. The text to appear in the page tab when this window is merged with other windows.

Remarks

The MergeCaption property applies only to anchored windows. If the Window object is an MDI frame window, Visio raises an exception.

Use the Type property to determine window type.