Export (0) Print
Expand All
ID
Top
Expand Minimize

Panes Property

Visual Studio .NET 2003

Returns the collection of panes in the Text window.

[Visual Basic .NET]
Public ReadOnly Property Panes() As TextPanes
[Visual Basic 6]
Property Get Panes() As TextPanes
[C++]
HRESULT __stdcall get_Panes(
   /* [out, retval] */ TextPanes** retVal
);
[C#]
public TextPanes Panes {get;}
[JScript .NET]
public function get Panes() : TextPanes

Return Value

Returns a TextPanes collection.

Example

Sub PanesExample()
   Dim twin As TextWindow
   Dim panes As TextPanes

   Set twin = ActiveWindow.Object
   Set panes = twin.Panes
   MsgBox "The """ & twin.Parent.Caption & """ window contains " &  str(panes.Count) & " pane(s)."
End Sub

See Also

Applies To: TextWindow Object

Show:
© 2015 Microsoft