BackColor, ForeColor Properties
◄Summary► ◄Details► ◄Example► ◄Contents► ◄Index► ◄Back►
──────────────────────────────────────────────────────────────────────────────
Sets or returns the background (BackColor) or foreground (ForeColor) color
of an object.
[form.][ctlname.]BackColor[ = color%]
[form.][ctlname.]ForeColor[ = color%]
■ color% Valid color settings are:
Value Description
══════ ══════════════════════════════════════════════
0 - 15 Valid color attribute
7 (Default - BackColor) White
0 (Default - ForeColor) Black
Applies To
◄Check Box Control► ◄Combo Box Control►
◄Command Button Control► ◄Directory List Box Control►
◄Drive List Box Control► ◄File List Box Control►
◄Form► ◄Frame Control►
◄Horizontal Scroll Bar Control► ◄List Box Control►
◄Option Button Control► ◄Picture Box Control►
◄Text Box Control► ◄Vertical Scroll Bar Control►
See Also
◄Color Attributes and Values (Objects)►