Caption property

MapPoint North America 2006 SDK

Returns or sets the caption text for the application window. Not available for use with the MapPoint Control. Read/write String.

Applies to

Objects:  Application

Syntax

object.Caption

Parameters

Part Description
object Required. An expression that returns an Application object.

Remarks

To change the caption back to the default text, set the Caption property to an empty string ("").

Example

  Sub FindApplicationCaption()

  Dim objApp As New MapPoint.Application

  'Set up the application   objApp.Visible = True   objApp.UserControl = True
  'Return the application caption   MsgBox "MapPoint caption: " + objApp.Caption
  End Sub
Show: