DIALOG SET COLOR

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > UI (User Interface) > DIALOGS > Dialog Commands >

DIALOG SET COLOR

 

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