Skip to content

SET_OUTPUT_WIN_SUBTITLE ​

SET_OUTPUT_WIN_SUBTITLE appends extra text to an output window's title.

Syntax ​

leo-grammar
CC "AdoScript" SET_OUTPUT_WIN_SUBTITLE winid:strValue subtitle:strValue

#--> RESULT ecode:intValue .
CC "AdoScript" SET_OUTPUT_WIN_SUBTITLE winid:strValue subtitle:strValue

#--> RESULT ecode:intValue .

Parameters ​

  • winid (strValue) - id of the window, defined by CREATE_OUTPUT_WIN
  • subtitle (strValue) - subtitle to add to the header of the output window

Returns ​

  • ecode (intValue) -

Details ​

See Also ​

CREATE_OUTPUT_WIN
OUT

Examples ​

asc
CC "AdoScript" CREATE_OUTPUT_WIN winid:"myWindow" title:"Information Window"
CC "AdoScript" SET_OUTPUT_WIN_SUBTITLE winid:"myWindow" subtitle:"new"
CC "AdoScript" OUT winid:"myWindow" text:"Hello world"
CC "AdoScript" CREATE_OUTPUT_WIN winid:"myWindow" title:"Information Window"
CC "AdoScript" SET_OUTPUT_WIN_SUBTITLE winid:"myWindow" subtitle:"new"
CC "AdoScript" OUT winid:"myWindow" text:"Hello world"

Creates a simple and empty output window with the title 'Information Window'. Afterwards it adds the subtitle 'new' which is also shown in the header of the window. Last but not least, the text 'Hello world' is added to the window.

Versions and Changes ​

Available since ADOxx 1.3