Previous Document Next Document
Window.Caption

Property Caption As String

Member of Window

The Caption property returns the window’s caption.

The Caption property returns a read-only value.

The following code example displays the caption of the active window:

Sub Test() 
 MsgBox "The caption of the current window is: " & 
ActiveWindow.Caption 
End Sub 

Previous Document Next Document Back to Top

Copyright 2007 Corel Corporation. All rights reserved.