Previous Document Next Document

Object Model Reference : Classes : W : Window : Properties : Window.Caption


Window.Caption

Property Caption As String

Description

Member of Window

The Caption property returns the caption for a window.

The Caption property returns a read-only value.

VBA example

The following VBA example displays the caption for 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 2013 Corel Corporation. All rights reserved.