MergeClass property
Specifies a list of window classes that this anchored window can merge with.
Version Added
2002
Syntax
| |
strRet |
String. A list of window classes that this window can presently merge with. |
object |
Required. An expression that returns a Window object. |
strVal |
Required String. A new list of window classes that this window can merge with. |
Remarks
Use semicolons to separate individual items in the list. If the MergeClass property returns a string containing "123;789", it can merge with any windows that also contain "123" or "789" in its merge class list. Windows with a merge class list that contains a zero-length string ("") can merge with other windows that contain a zero-length string ("") in their merge class list.
The MergeClass property applies only to anchored windows. If the Window object is an MDI frame window, Visio raises an exception.
At present, windows of type visDocked can be merged only with other windows of type visDocked, and windows of type visAnchorBar can be merged only with other windows of type visAnchorBar.
Use the Type property to determine window type.