GefApplication.Caption (property)

Gets and sets the string used as the title bar caption.
Syntax: String = object.Caption
object.Caption = String
Description: This is the application portion of the text that appears in the title bar. The title bar has the format "<filename> - <caption>".

The default caption is the name of the application without the file extension (that is, "CimEdit" or "CimView").

Example:

Sub Application_Caption()
    
    Dim oCimApp As GefApplication
    Set oCimApp = CimGetScreen.Application
    MsgBox "The Caption for the application is " & oCimApp.Caption
    
End Sub