dbColor

Define the display color of Grids and Forms. 

Property Syntax

Obj.dbColor="TableBG,HeaderFG,HeaderBG,TableFG,Hstrip,Vstrip,Formstripe,Transparent,StatusBar"

Parameters

Parameters

Description

TableBG Table BG color
HeaderFG Table Header FG color
HeaderBG Table Header BG color
TableFG Table FG color.
Hstrip Horizontal strip color. Use light color like LightGreen or LightYellow.
Vstrip Vertical strip color.
Formstrip If set to True then Hstrip color will apply to form. Otherwise, no strip color will be applied to the form.
Transparent If set to true then all BG color will be off. Pick dark FG text color for both header and TD text for transparant.
StatusBar StatusBar text color.

Example

<%    'Color defaults to "#ffffff,#0000cc,#99CCFF,#0000cc" (Old #4)
Set X=Server.CreateObject("Asp.DB")
X.dbQuickProps="1;NWIND;;Grid;;;;ACCESS;5"
X.dbSQL="SELECT OrderID, CustomerID, EmployeeID FROM Orders"
X.ASP
DB
%>

Notes