BackColor Property

The BackColor property specifies the background color of the form or control. For more information, see Defining Colors for Your Form and Controls.

Note: Avoid using a dithered background color, since text is often not as readable when displayed on top of it.

You can also set this property using a cascading style sheet, except for the Grid. For more information, see Using Cascading Style Sheets.

Applies to: Grids, forms, buttons, check boxes, combo boxes, edit boxes, HTML Objects, HTML Tables, list boxes, menus, multi-edit boxes, radio buttons, text.

Setting dynamically:

form.[control.]SETBACKCOLOR(amount_of_red, amount_of_green,  

Property Settings:


Sets gray as the background color, if you do not have a cascading style sheet applied to your form. Otherwise, it uses the setting in the cascading style sheet.

amount_of_red, amount_of_green, amount_of_blue

Sets the background to be the color defined by the amount of red, green, and blue.