Home > Language Reference > Classes > Form

Caption Property

Form title.

Syntax

Public Property Get Caption() As String
Public Property Let Caption(ByRef sCaption As String)

ParameterDescription
sCaption New form title.

Remarks

The Caption property reads or modifies the form title. The title is always displayed on a single line with the hbFontBold font. Special characters such as carriage returns and tabulations are not interpreted.

It is advised to choose explicit titles for your forms, so that users can easily identify the application running when they switch on their devices.

System requirements

SystemMinimal versionRemarks
Palm OSPalm OS 3.0N/A