Caption Property [Application]

Caption returns or sets the main window title. Returns a string.

Syntax

object.Caption

object.Caption = newVal

Example 1

This example demonstrates how to return the name that appears in the title bar of the Surfer application.

Debug .Print SurferApp.Caption

Example 2

This example demonstrates how to set the title of an application to read Personalized Caption.

SurferApp.Caption = "Personalized Caption"

Example 3

This script displays all the properties in the Application object.