ConCaption command

 

Usage:

ConCaption StringExpr

 

Legacy Syntax:

CONSOLE NAME StringExpr

 

Pseudo-object Syntax:

CON.CAPTION = StringExpr

 

Sets the text to be displayed on the title bar of the console window.

 

Note that the icon with the lowest numbered ID in the resource file (or using the extended #RESOURCE metacommand on PB/Win10) will automatically be used for the console. If no icon is specified in resource, a default icon will be used.

 

Conversion:

 

#IF %DEF(%PB_CC32)

  CONSOLE NAME Caption$

#ELSE

  ConCaption Caption$

#ENDIF

 

CON.CAPTION = or CONSOLE.CAPTION = may be substituted for CONSOLE NAME in programs written for PB/CC 6.

 

#IF %DEF(%PB_CC32)

  CON.CAPTION = Caption$

#ELSE

  ConCaption Caption$

#ENDIF

 

See Also: ConCaption$ function