Console_Box

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > Console >

Console_Box

 

Description

 

Display a box in the console window.

 

Syntax

 

Console_Box(XPos, YPos, Width, Height, BColor, FColor, Title, TColor, lFlags)

 

Returns

 

Parameters

 

Name

Type

Optional

Meaning

XPos

Number

No

Start X position of the box (upper left corner)

YPos

Number

No

Start Y position of the box (upper left corner)

Width

Number

No

The width of the box

Height

Number

No

The height of the box

BColor

Number

No

Background color (see color table axample)

FColor

Number

No

Foreground color (see color table axample)

Title

String

No

Box title

TColor

Number

No

Title color

lFlags

Number

No

The Box flag options:

%Console_BOX_FLAG_3DOFF

%Console_BOX_FLAG_3DON

%Console_BOX_FLAG_SHADOW

 

Remarks

 

Restrictions

 

See also

 

Console Module, Console_ProgressBar

 

Examples

 

Console_Box(60, 5, 10, 5, 24, 17, "My Box", 15, %Console_BOX_FLAG_3DOFF)