DisplayAt(int x, int y, int width, string message, ...)
Identical to the "Display" function, only this allows you to define the
position and size of the window where the text is displayed. The X and Y
variables define the co-ordinates of the upper-left corner of the window.
The WIDTH variable defines the maximum width of the window. The height is then
automatically calculated so that the message fits into the window.
You can insert the value of variables into the message. For more information,
see the string formatting section.
Note: This is a blocking call. See the "Display" help for more information.
Example:
DisplayAt (50,50,100, "This is a message");
will display the message at coordinates 50,50 in a box 100 pixels wide.
See Also: Display, DisplayAtY
|