CAPTION

Concept Link IconSee also

Display text in the title bar of the workspace of the desktop client.

WebVue support - Not applicable. Returns an unsuccessful code if used in this context.

Syntax

StrVal = CAPTION(NewTitle);

Return type: STR.

Argument

Meaning

NewTitle

The new caption for the workspace title bar. Type STR.

Execution

CAPTION enables display of the character string passed as an argument in the title bar of the workspace. The option for display of the title bar must be enabled in the workspace preferences.

Return:

1 if successful, else 0.

Example

SUB Main()

DIM strCaption as Str;

DIM intResult as Str;

 

strCaption="Main Project 1";

intResult = CAPTION(strCaption);

END SUB