Files
BlitzNext/_release/help/commands/2d_commands/AppTitle.htm
T

40 lines
1.1 KiB
HTML
Raw Normal View History

2014-12-08 12:43:20 +13:00
<html>
<head>
<title>Blitz3D Docs</title>
<link rel=stylesheet href=../css/commands.css type=text/css>
</head>
<body>
<h1>AppTitle title$[,close_prompt$]</h1>
<h1>Parameters</h1>
<table>
<tr>
<td>
title$ - the text that will be displayed in the title bar of the program window
<br />
close_prompt$ (optional) - the text that will be displayed in a message box with 'OK/Cancel' options when a user clicks on the close button. If nothing is specified, the message box will not be displayed and the program will close immediately.
</td>
</tr>
</table>
<h1>Description</h1>
<table>
<tr>
<td>
Allows you to set the text of the program's title bar, and 'close program?' message box.
</td>
</tr>
</table>
<h1><a href=../2d_examples/AppTitle.bb>Example</a></h1>
<table>
<tr>
<td>
; Set the title bar
<br />
<br />
AppTitle "Super Invaders V1.0", "Are you sure?"
2014-02-26 16:08:39 +13:00
</td>
2014-12-08 12:43:20 +13:00
</tr>
</table>
<br>
2014-02-26 16:08:39 +13:00
<a target=_top href=../index.htm>Index</a><br>