<ControlName>.BackColor

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > UI (User Interface) > CONTROLS > Control Pseudo-object Methods and Properties >

<ControlName>.BackColor

 

Description

 

Allows assigning background color to the control.

 

Syntax

 

' Set

<controlName>.BackColor = rgbValue

 

Returns

 

None

 

Parameters (Set only)

 

Name

Type

Optional

Meaning

rgbValue

Number

No

RGB color value

 

Remarks

 

Restrictions

 

Currently set only.

 

Works only for some controls.

 

See also

 

Examples

 

control add label name "myTitle", hDlg, %lTitle"", 5, 5, 100, 25

 

' No need to use hDlg, %lTitle, you can use the name directly

myTitle.BackColor = RGB(0, 255, 0)