Navigation:  thinBasic Modules > UI (User Interface) > DIALOGSs >

DIALOG SET COLOR

Previous pageReturn to chapter overviewNext page

 

Description

 

Set the background color of a dialog to a specific RGB color.

 

Syntax

 

DIALOG SET COLOR hwnd, ForeColor, BackCOlor

 

Returns

 

None

 

Parameters

 

Name

Type

Optional

Meaning

hwnd

Number

No

Handle of the dialog

ForeColor

Number

No

Not used. Use always -1

BackColor

Number

No

The RGB background color.

-1 restore default

 

Remarks

 

Restrictions

 

See also

 

Examples